From eb5bd11b4ee2bfb5a6435b1ffd7cd510216fb7ec Mon Sep 17 00:00:00 2001 From: Prateek Kumar Date: Thu, 9 Jan 2025 18:16:37 -0800 Subject: [PATCH] Go: review comments fixed Signed-off-by: Prateek Kumar --- go/api/sorted_set_commands.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/go/api/sorted_set_commands.go b/go/api/sorted_set_commands.go index e77664390b..032c794436 100644 --- a/go/api/sorted_set_commands.go +++ b/go/api/sorted_set_commands.go @@ -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