Merge pull request #428 from nathan-jones/readme-typo

Fixed Readme typo ZRangeBy
This commit is contained in:
Vladimir Mihailenco 2016-11-28 14:03:22 +02:00 committed by GitHub
commit b148c1afd3
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ Some corner cases:
vals, err := client.Sort("list", redis.Sort{Offset: 0, Count: 2, Order: "ASC"}).Result() vals, err := client.Sort("list", redis.Sort{Offset: 0, Count: 2, Order: "ASC"}).Result()
ZRANGEBYSCORE zset -inf +inf WITHSCORES LIMIT 0 2 ZRANGEBYSCORE zset -inf +inf WITHSCORES LIMIT 0 2
vals, err := client.ZRangeByScoreWithScores("zset", redis.ZRangeByScore{ vals, err := client.ZRangeByScoreWithScores("zset", redis.ZRangeBy{
Min: "-inf", Min: "-inf",
Max: "+inf", Max: "+inf",
Offset: 0, Offset: 0,