mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-10-29 17:12:22 +00:00
Fix typos.
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user