forked from mirror/redis
Mention redis.Nil
This commit is contained in:
parent
58bf6f4abe
commit
624096af5e
|
@ -677,6 +677,7 @@ func (c *cmdable) DecrBy(key string, decrement int64) *IntCmd {
|
|||
return cmd
|
||||
}
|
||||
|
||||
// Redis `GET key` command. It returns redis.Nil error when key does not exist.
|
||||
func (c *cmdable) Get(key string) *StringCmd {
|
||||
cmd := NewStringCmd("get", key)
|
||||
c.process(cmd)
|
||||
|
|
Loading…
Reference in New Issue