mirror of
https://github.com/redis/go-redis.git
synced 2025-08-06 01:35:48 +03:00
Merge pull request #1170 from XD-DENG/patch-1
Fix code typo in README sample code
This commit is contained in:
@@ -109,7 +109,7 @@ vals, err := client.ZInterStore("out", redis.ZStore{Weights: []int64{2, 3}}, "zs
|
|||||||
vals, err := client.Eval("return {KEYS[1],ARGV[1]}", []string{"key"}, "hello").Result()
|
vals, err := client.Eval("return {KEYS[1],ARGV[1]}", []string{"key"}, "hello").Result()
|
||||||
|
|
||||||
// custom command
|
// custom command
|
||||||
res, err := client.Do("set", "key", "value")
|
res, err := client.Do("set", "key", "value").Result()
|
||||||
```
|
```
|
||||||
|
|
||||||
## See also
|
## See also
|
||||||
|
Reference in New Issue
Block a user