Explorar o código

Improve Pool.Dial doc.

Gary Burd %!s(int64=11) %!d(string=hai) anos
pai
achega
43f6283324
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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