Skip to content

Commit

Permalink
Lower case custom command
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Apr 15, 2017
1 parent 62ecc61 commit 7c3f4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 7c3f4d0

Please sign in to comment.