We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 590508a commit cfda5c7Copy full SHA for cfda5c7
src/database/sql/sql.go
@@ -687,7 +687,7 @@ type dsnConnector struct {
687
func (t dsnConnector) Connect(_ context.Context) (driver.Conn, error) {
688
conn, err := t.driver.Open(t.dsn)
689
if err == driver.ErrBadConn {
690
- return conn, fmt.Errorf("sql: driver open() returned ErrBadConn. ErrBadConn should only be returned from existing connections")
+ return conn, fmt.Errorf("sql: driver Open() returned ErrBadConn. ErrBadConn should only be returned from existing connections")
691
}
692
return conn, err
693
0 commit comments