소스 검색

Fix error in pool documentation.

Gary Burd 12 년 전
부모
커밋
aa31b4b202
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {