Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement database/sql/driver.Validator interface #51

Closed
shogo82148 opened this issue Jul 25, 2020 · 0 comments
Closed

Implement database/sql/driver.Validator interface #51

shogo82148 opened this issue Jul 25, 2020 · 0 comments

Comments

@shogo82148
Copy link
Owner

Issue description

Go 1.15 will introduce a new Validator interface, which may be implemented by Conn to allow drivers to signal if a connection is valid or if it should be discarded:

https://tip.golang.org/pkg/database/sql/driver/#Validator

ref. go-sql-driver/mysql#1106

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant