瀏覽代碼

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