Lower case custom command

This commit is contained in:
Vladimir Mihailenco 2017-04-15 13:40:20 +03:00
parent 62ecc61210
commit 7c3f4d045e
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ func ExampleScript() {
func Example_customCommand() {
Get := func(client *redis.Client, key string) *redis.StringCmd {
cmd := redis.NewStringCmd("GET", key)
cmd := redis.NewStringCmd("get", key)
client.Process(cmd)
return cmd
}