1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-19 07:22:17 +03:00

Try to fix package level example.

This commit is contained in:
Vladimir Mihailenco 2013-09-29 11:49:54 +03:00
parent db0cb86282
commit de7a9d3142

View File

@ -146,7 +146,7 @@ func ExamplePubSub() {
// &{mychannel hello} <nil>
}
func Example_CustomCommand() {
func Example_customCommand() {
Get := func(client *redis.Client, key string) *redis.StringCmd {
cmd := redis.NewStringCmd("GET", key)
client.Process(cmd)