Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Jan 20, 2020
1 parent c159538 commit 2f96fd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -984,9 +984,9 @@ func (c cmdable) HMGet(key string, fields ...string) *SliceCmd {
}

// HMSet is like HSet, but accepts multiple values:
// - HMSet("key1", "value1", "key2", "value2")
// - HMSet([]string{"key1", "value1", "key2", "value2"})
// - HMSet(map[string]interface{}{"key1": "value1", "key2": "value2"})
// - HMSet("myhash", "key1", "value1", "key2", "value2")
// - HMSet("myhash", []string{"key1", "value1", "key2", "value2"})
// - HMSet("myhash", map[string]interface{}{"key1": "value1", "key2": "value2"})
//
// Note that it uses HSET Redis command underneath because HMSET is deprecated.
func (c cmdable) HMSet(key string, values ...interface{}) *IntCmd {
Expand Down

0 comments on commit 2f96fd1

Please sign in to comment.