From f3fd735c02221df0ec6d16d87e5c3cf531f70f4b Mon Sep 17 00:00:00 2001 From: Prateek Kumar Date: Sun, 12 Jan 2025 22:33:10 -0800 Subject: [PATCH] Go: ZScore - test case updated Signed-off-by: Prateek Kumar --- go/api/sorted_set_commands.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/api/sorted_set_commands.go b/go/api/sorted_set_commands.go index 46a08120ef..11af99c25c 100644 --- a/go/api/sorted_set_commands.go +++ b/go/api/sorted_set_commands.go @@ -396,8 +396,8 @@ type SortedSetCommands interface { // "three": 3.0, // } // - // zAddResult, err := client.ZAdd(key1, membersScores) - // zScoreResult, err := client.ZScore(key1, "one") + // zAddResult, err := client.ZAdd("key1", membersScores) + // zScoreResult, err := client.ZScore("key1", "one") // //fmt.Println(zScoreResult) // Value: 1.0 // // [valkey.io]: https://valkey.io/commands/zscore/