Open
Description
Is your feature request related to a problem?
Move to use https://pkg.go.dev/database/sql#OpenDB to delay database connection in golang
Describe the solution you'd like
To avoid go service from not starting when the database is not connected.
https://pkg.go.dev/database/sql#OpenDB which delays connecting to database until first use.
This will allow will golang services to gracfully fail in those cases that the database has not started.
Activity