Reorganized the code, moved more things to the new part
This commit is contained in:
@@ -46,6 +46,7 @@ func InitDB(host string, port string, user string, password string, dbname strin
|
||||
}
|
||||
|
||||
func CloseDb() {
|
||||
fmt.Println("Closing connection to database")
|
||||
Dbpool.Close()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user