Skip to content

Commit a8d59c6

Browse files
committed
utils: Remove obsolete comment
strings.IndexByte is slower
1 parent f3cc615 commit a8d59c6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

utils.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ func parseDSN(dsn string) (cfg *config, err error) {
8080
collation: defaultCollation,
8181
}
8282

83-
// TODO: use strings.IndexByte when we can depend on Go 1.2
84-
8583
// [user[:password]@][net[(addr)]]/dbname[?param1=value1&paramN=valueN]
8684
// Find the last '/' (since the password or the net addr might contain a '/')
8785
foundSlash := false

0 commit comments

Comments
 (0)