File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -705,7 +705,7 @@ type HashCommands interface {
705705 // [valkey.io]: https://valkey.io/commands/hstrlen/
706706 HStrLen (key string , field string ) (Result [int64 ], error )
707707
708- // Increments the string representing a floating point number stored at `field`` in the hash stored at `key` by increment.
708+ // Increments the string representing a floating point number stored at `field` in the hash stored at `key` by increment.
709709 // By using a negative increment value, the value stored at field in the hash stored at `key` is decremented.
710710 // If `field` or `key` does not exist, it is set to 0 before performing the operation.
711711 //
@@ -719,7 +719,7 @@ type HashCommands interface {
719719 // Return value:
720720 // The Result[float64] value of `field` in the hash stored at `key` after the increment.
721721 //
722- // For example :
722+ // Example :
723723 // hsetResult, err := client.HSet("key", map[string]string{"field": "10"})
724724 // hincrByFloatResult, err := client.HIncrByFloat("key", "field", 1.5)
725725 // // hincrByFloatResult.Value(): 11.5
You can’t perform that action at this time.
0 commit comments