DEV Community

Discussion on: Basic Go HTTP server with Postgres

Collapse
mmasouras profile image
Michael

Who is closing the connection?

Collapse
bmpickford profile image
Benjamin Author

It should close when the application shuts down I believe. golang.org/pkg/database/sql/#Open