Hacker News new | past | comments | ask | show | jobs | submit login

FYI: Go 1.15 will have idle timeout: https://tip.golang.org/pkg/database/sql/#DB.SetConnMaxIdleTi...

The driver interface also separates out the session resetter and the connection validator concepts. https://tip.golang.org/pkg/database/sql/driver/

Please do have drivers implement the Connector.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: