소스 검색

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) {