mirror of
https://github.com/redis/go-redis.git
synced 2025-06-14 01:21:30 +03:00
Lower case custom command
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user