浏览代码

Explicitly mention Close() in concurrency doc

Gary Burd 6 年之前
父节点
当前提交
4b40ddb458
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      redis/doc.go

+ 1 - 1
redis/doc.go

@@ -101,7 +101,7 @@
 //
 // Connections support one concurrent caller to the Receive method and one
 // concurrent caller to the Send and Flush methods. No other concurrency is
-// supported including concurrent calls to the Do method.
+// supported including concurrent calls to the Do and Close methods.
 //
 // For full concurrent access to Redis, use the thread-safe Pool to get, use
 // and release a connection from within a goroutine. Connections returned from