Quellcode durchsuchen

Explicitly mention Close() in concurrency doc

Gary Burd vor 6 Jahren
Ursprung
Commit
4b40ddb458
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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