On 9/12/20 8:25 AM, Tamás Gulácsi wrote:
database/sql.DB is a pool. If you don't want to close it, SetMaxIdleConns(1), or better, use a db.Conn().
Thanks for the hint. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/06865753-6f17-fedc-9049-f9a3b55f8b70%40gmail.com.