Explorar el Código

Fix error in pool documentation.

Gary Burd hace 12 años
padre
commit
aa31b4b202
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      redis/pool.go

+ 1 - 1
redis/pool.go

@@ -64,7 +64,7 @@ var errPoolClosed = errors.New("redigo: connection pool closed")
 // A request handler gets a connection from the pool and closes the connection
 // when the handler is done:
 //
-//  conn, err := pool.Get()
+//  conn := pool.Get()
 //  defer conn.Close()
 //  // do something with the connection
 type Pool struct {