1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-19 07:22:17 +03:00

Fix grammar in quickstart

This commit is contained in:
Matt Kelly 2017-11-24 12:33:21 -05:00
parent e5e021257b
commit 2cf19e8b9a

View File

@ -66,14 +66,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
}
```