(key string)
| 342 | } |
| 343 | |
| 344 | func (c Client) LPOP(key string) (element ReturnValue, err error) { |
| 345 | element, _, err = c.listPop(key, Left) |
| 346 | return |
| 347 | } |
| 348 | |
| 349 | func (c Client) listPop(key string, side LSide) (element ReturnValue, ok bool, err error) { |
| 350 | element, transactItems, ok, err := c.listPopActions(key, side) |