added back postgres drivers

This commit is contained in:
Nickiel12 2023-12-30 09:20:38 -08:00
parent 51ebc9d841
commit 207e632157

View file

@ -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 {