mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
Fix example
This commit is contained in:
parent
8ca3198da9
commit
a005081ecd
@ -102,7 +102,7 @@ Some corner cases:
|
||||
vals, err := client.ZInterStore("out", redis.ZStore{Weights: []int64{2, 3}}, "zset1", "zset2").Result()
|
||||
|
||||
EVAL "return {KEYS[1],ARGV[1]}" 1 "key" "hello"
|
||||
vals, err := client.Eval("return {KEYS[1],ARGV[1]}", []string{"key"}, []string{"hello"}).Result()
|
||||
vals, err := client.Eval("return {KEYS[1],ARGV[1]}", []string{"key"}, "hello").Result()
|
||||
|
||||
## Benchmark
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user