Skip to content

Commit e61b67c

Browse files
Go: HINCRBY - review comments fixed
Signed-off-by: Prateek Kumar <[email protected]>
1 parent 91e2f25 commit e61b67c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/api/commands.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ type HashCommands interface {
720720
// The Result[int64] value of `field` in the hash stored at `key` after the increment.
721721
//
722722
// Example:
723-
// hsetResult, err := client.HSet("key", map[string]string{"field": "10"})
723+
// _, err := client.HSet("key", map[string]string{"field": "10"})
724724
// hincrByResult, err := client.HIncrBy("key", "field", 1)
725725
// // hincrByResult.Value(): 11
726726
//
@@ -742,7 +742,7 @@ type HashCommands interface {
742742
// The Result[float64] value of `field` in the hash stored at `key` after the increment.
743743
//
744744
// Example:
745-
// hsetResult, err := client.HSet("key", map[string]string{"field": "10"})
745+
// _, err := client.HSet("key", map[string]string{"field": "10"})
746746
// hincrByFloatResult, err := client.HIncrByFloat("key", "field", 1.5)
747747
// // hincrByFloatResult.Value(): 11.5
748748
//

0 commit comments

Comments
 (0)