فهرست منبع

Merge pull request #92 from firstrow/patch-1

Improved pub/sub example
Gary Burd 11 سال پیش
والد
کامیت
b3ceac6ab2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      redis/doc.go

+ 1 - 1
redis/doc.go

@@ -128,7 +128,7 @@
 // send and flush a subscription management command. The receive method
 // converts a pushed message to convenient types for use in a type switch.
 //
-//  psc := PubSubConn{c}
+//  psc := redis.PubSubConn{c}
 //  psc.Subscribe("example")
 //  for {
 //      switch v := psc.Receive().(type) {