From 207e63215774174e13b775ce85f73a180f842652 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 30 Dec 2023 09:20:38 -0800 Subject: [PATCH] added back postgres drivers --- recount-server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/recount-server.go b/recount-server.go index 5f5fef1..2065ae4 100644 --- a/recount-server.go +++ b/recount-server.go @@ -43,6 +43,7 @@ func main() { log.Fatal(err) } log.Print("Database connected") + defer db.Close() // Confirm a successful connection. if err := db.Ping(); err != nil {