mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
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…
x
Reference in New Issue
Block a user