Merge pull request #10 from xet7/master

Fix typos.
This commit is contained in:
Yuli
2022-11-08 08:42:38 +02:00
committed by GitHub
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) { func (dbobj MySQLDB) BackupDB(w http.ResponseWriter) {
//err := sqlite3dump.DumpDB(dbobj.db, w) //err := sqlite3dump.DumpDB(dbobj.db, w)
//if err != nil { //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) { func (dbobj PGSQLDB) BackupDB(w http.ResponseWriter) {
//err := sqlite3dump.DumpDB(dbobj.db, w) //err := sqlite3dump.DumpDB(dbobj.db, w)
//if err != nil { //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) { func (dbobj SQLiteDB) BackupDB(w http.ResponseWriter) {
err := sqlite3dump.DumpDB(dbobj.db, w) err := sqlite3dump.DumpDB(dbobj.db, w)
if err != nil { if err != nil {