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 f3cc615 commit a8d59c6Copy full SHA for a8d59c6
utils.go
@@ -80,8 +80,6 @@ func parseDSN(dsn string) (cfg *config, err error) {
80
collation: defaultCollation,
81
}
82
83
- // TODO: use strings.IndexByte when we can depend on Go 1.2
84
-
85
// [user[:password]@][net[(addr)]]/dbname[?param1=value1¶mN=valueN]
86
// Find the last '/' (since the password or the net addr might contain a '/')
87
foundSlash := false
0 commit comments