Skip to content

Commit

Permalink
Fixed Readme typo ZRangeBy
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-jones authored Nov 27, 2016
1 parent ecc6a49 commit 2fb4a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Some corner cases:
vals, err := client.Sort("list", redis.Sort{Offset: 0, Count: 2, Order: "ASC"}).Result()

ZRANGEBYSCORE zset -inf +inf WITHSCORES LIMIT 0 2
vals, err := client.ZRangeByScoreWithScores("zset", redis.ZRangeByScore{
vals, err := client.ZRangeByScoreWithScores("zset", redis.ZRangeBy{
Min: "-inf",
Max: "+inf",
Offset: 0,
Expand Down

0 comments on commit 2fb4a78

Please sign in to comment.