Skip to content

Commit

Permalink
Go: review comments fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Prateek Kumar <[email protected]>
  • Loading branch information
prateek-kumar-improving committed Jan 10, 2025
1 parent dee5043 commit eb5bd11
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions go/api/sorted_set_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,10 @@ type SortedSetCommands interface {
// key1 := uuid.NewString()
// membersScores := map[string]float64{"one": 1.0, "two": 2.0, "three": 3.0 }
// zAddResult, err := client.ZAdd(key1, membersScores)
// zCountRange := options.NewZCountRangeBuilder()
// zCountRange.SetMin(options.NewInfScoreBoundBuilder().SetValue(options.NegativeInfinity))
// zCountRange.SetMax(options.NewInfScoreBoundBuilder().SetValue(options.PositiveInfinity))
// zCountRange := options.NewZCountRangeBuilder(
// options.NewInfScoreBoundBuilder(options.NegativeInfinity),
// options.NewInfScoreBoundBuilder(options.PositiveInfinity),
// )
// zCountResult, err := client.ZCount(key1, zCountRange)
// if err!= nil {
// // Print err
Expand Down

0 comments on commit eb5bd11

Please sign in to comment.