浏览代码

utils: Remove obsolete comment

strings.IndexByte is slower
Julien Schmidt 10 年之前
父节点
当前提交
a8d59c6e79
共有 1 个文件被更改,包括 0 次插入2 次删除
  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