redisgo icon indicating copy to clipboard operation
redisgo copied to clipboard

LLen 获取列表的长度有错误,写成了rpop,请更正一下吧

Open genius-will opened this issue 5 years ago • 0 comments

// LLen 获取列表的长度 func (c *Cacher) LLen(key string) (int64, error) { return Int64(c.Do("RPOP", c.getKey(key))) }

genius-will avatar Mar 19 '19 08:03 genius-will