how to check connection status,
something like Ping() func ?
db.Exec("SELECT 1") but that will test random connection in the pool.
db.Exec("SELECT 1")
Most helpful comment
db.Exec("SELECT 1")but that will test random connection in the pool.