forked from mirror/redis
Lower case custom command
This commit is contained in:
parent
62ecc61210
commit
7c3f4d045e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue