Explorar o código

Improved pub/sub example

This pull request make much more easy copy/paste development.
Andrew %!s(int64=11) %!d(string=hai) anos
pai
achega
97de759909
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {