You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation seems to indicate that pool.Get will return an err,
// conn, err := pool.Get()
// defer conn.Close()
// // do something with the connection
but it doesn't seem to be doing that.. what's the best way to catch dial errors on pooled connections?
The text was updated successfully, but these errors were encountered:
The documentation seems to indicate that pool.Get will return an err,
// conn, err := pool.Get()
// defer conn.Close()
// // do something with the connection
but it doesn't seem to be doing that.. what's the best way to catch dial errors on pooled connections?
The text was updated successfully, but these errors were encountered: