Fix typos.

This commit is contained in:
Lauri Ojansivu
2022-11-08 05:01:51 +02:00
parent f1bc86a0b0
commit abe16a1a62
3 changed files with 3 additions and 3 deletions

View File

@@ -182,7 +182,7 @@ func (dbobj *MySQLDB) CloseDB() {
}
}
// BackupDB function backups existing databsae and prints database structure to http.ResponseWriter
// BackupDB function backups existing database and prints database structure to http.ResponseWriter
func (dbobj MySQLDB) BackupDB(w http.ResponseWriter) {
//err := sqlite3dump.DumpDB(dbobj.db, w)
//if err != nil {

View File

@@ -184,7 +184,7 @@ func (dbobj *PGSQLDB) CloseDB() {
}
}
// BackupDB function backups existing databsae and prints database structure to http.ResponseWriter
// BackupDB function backups existing database and prints database structure to http.ResponseWriter
func (dbobj PGSQLDB) BackupDB(w http.ResponseWriter) {
//err := sqlite3dump.DumpDB(dbobj.db, w)
//if err != nil {

View File

@@ -174,7 +174,7 @@ func (dbobj *SQLiteDB) CloseDB() {
}
}
// BackupDB function backups existing databsae and prints database structure to http.ResponseWriter
// BackupDB function backups existing database and prints database structure to http.ResponseWriter
func (dbobj SQLiteDB) BackupDB(w http.ResponseWriter) {
err := sqlite3dump.DumpDB(dbobj.db, w)
if err != nil {