forked from mirror/redis
Try to fix package level example.
This commit is contained in:
parent
db0cb86282
commit
de7a9d3142
|
@ -146,7 +146,7 @@ func ExamplePubSub() {
|
||||||
// &{mychannel hello} <nil>
|
// &{mychannel hello} <nil>
|
||||||
}
|
}
|
||||||
|
|
||||||
func Example_CustomCommand() {
|
func Example_customCommand() {
|
||||||
Get := func(client *redis.Client, key string) *redis.StringCmd {
|
Get := func(client *redis.Client, key string) *redis.StringCmd {
|
||||||
cmd := redis.NewStringCmd("GET", key)
|
cmd := redis.NewStringCmd("GET", key)
|
||||||
client.Process(cmd)
|
client.Process(cmd)
|
||||||
|
|
Loading…
Reference in New Issue