diff --git a/v2/README.md b/v2/README.md index 2f51e3b..9eb65ce 100644 --- a/v2/README.md +++ b/v2/README.md @@ -189,7 +189,12 @@ Some corner cases: client.Sort("list", redis.Sort{Offset: 0, Count: 2, Order: "ASC"}) ZRANGEBYSCORE zset -inf +inf WITHSCORES LIMIT 0 2 - client.ZRangeByScoreWithScores("zset", "-inf", "+inf", 0, 2) + client.ZRangeByScoreWithScores("zset", redis.ZRangeByScore{ + Min: "-inf", + Max: "+inf", + Offset: 0, + Count: 2, + }) ZINTERSTORE out 2 zset1 zset2 WEIGHTS 2 3 AGGREGATE SUM client.ZInterStore("out", redis.ZStore{Weights: []int64{2, 3}}, "zset1", "zset2")