I found lpush, rpush api inconsistent.
// RPush appends a new value(s) to the list stored at the given key.
func (c *Client) RPush(key, value string, values ...string) StatusResult
//LPush prepends a new value to the list stored at the given key.
func (c *Client) LPush(key, value string) StatusResult
I think setting the api this way will make it more comfortable to use.
func (c *Client) RPush(key, values ...string) StatusResult
Originally posted by @fangpianqi in #5 (comment)
I found lpush, rpush api inconsistent.
I think setting the api this way will make it more comfortable to use.
func (c *Client) RPush(key, values ...string) StatusResultOriginally posted by @fangpianqi in #5 (comment)