Browse Source

utils: Remove obsolete comment

strings.IndexByte is slower
Julien Schmidt 10 years ago
parent
commit
a8d59c6e79
1 changed files with 0 additions and 2 deletions
  1. 0 2
      utils.go

+ 0 - 2
utils.go

@@ -80,8 +80,6 @@ func parseDSN(dsn string) (cfg *config, err error) {
 		collation: defaultCollation,
 	}
 
-	// TODO: use strings.IndexByte when we can depend on Go 1.2
-
 	// [user[:password]@][net[(addr)]]/dbname[?param1=value1&paramN=valueN]
 	// Find the last '/' (since the password or the net addr might contain a '/')
 	foundSlash := false