1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Add test for ring and cluster hooks

This commit is contained in:
Vladimir Mihailenco
2020-02-14 14:30:07 +02:00
parent 2e3402d33d
commit 49a0c8c319
7 changed files with 433 additions and 44 deletions

View File

@ -447,7 +447,7 @@ func Example_customCommand() {
}
func Example_customCommand2() {
v, err := rdb.Do("get", "key_does_not_exist").String()
v, err := rdb.Do("get", "key_does_not_exist").Text()
fmt.Printf("%q %s", v, err)
// Output: "" redis: nil
}