From bdbad50f7e1cd706511fbb39575d0e18e1d7bb75 Mon Sep 17 00:00:00 2001 From: Matt Kelly Date: Sat, 25 Nov 2017 12:37:26 -0500 Subject: [PATCH] Fix grammar in ExampleClient --- example_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example_test.go b/example_test.go index 7e04cd48..4d18ddb9 100644 --- a/example_test.go +++ b/example_test.go @@ -96,14 +96,14 @@ func ExampleClient() { val2, err := client.Get("key2").Result() if err == redis.Nil { - fmt.Println("key2 does not exists") + fmt.Println("key2 does not exist") } else if err != nil { panic(err) } else { fmt.Println("key2", val2) } // Output: key value - // key2 does not exists + // key2 does not exist } func ExampleClient_Set() {