From 7c3f4d045eb91b3da0b83c5ed07ee901b414dd79 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Sat, 15 Apr 2017 13:40:20 +0300 Subject: [PATCH] Lower case custom command --- example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_test.go b/example_test.go index 98ee2dd0..6c3d6bdb 100644 --- a/example_test.go +++ b/example_test.go @@ -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 }