ソースを参照

Improve Pool.Dial doc.

Gary Burd 11 年 前
コミット
43f6283324
1 ファイル変更3 行追加2 行削除
  1. 3 2
      redis/pool.go

+ 3 - 2
redis/pool.go

@@ -91,8 +91,9 @@ var (
 //
 type Pool struct {
 
-	// Dial is an application supplied function for creating new connections.
-	Dial func() (Conn, error)
+    // Dial is an application supplied function for creating and configuring a
+    // connection
+    Dial func() (Conn, error)
 
 	// TestOnBorrow is an optional application supplied function for checking
 	// the health of an idle connection before the connection is used again by