added back postgres drivers
This commit is contained in:
parent
51ebc9d841
commit
207e632157
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ func main() {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
log.Print("Database connected")
|
log.Print("Database connected")
|
||||||
|
defer db.Close()
|
||||||
|
|
||||||
// Confirm a successful connection.
|
// Confirm a successful connection.
|
||||||
if err := db.Ping(); err != nil {
|
if err := db.Ping(); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue