Close db
1 files changed, 1 insertions(+), 0 deletions(-) M main.go
M main.go => main.go +1 -0
@@ 53,6 53,7 @@ func main() { if err != nil { log.Fatal(err) } + defer db.Close() // setup http server http.HandleFunc(config.Bin.Pattern,