Append appends the given item to the existing item, if a value already exists for its key. ErrNotStored is returned if that condition is not met.
(item *Item)
| 630 | // Append appends the given item to the existing item, if a value already |
| 631 | // exists for its key. ErrNotStored is returned if that condition is not met. |
| 632 | func (c *Client) Append(item *Item) error { |
| 633 | return c.onItem(item, (*Client).append) |
| 634 | } |
| 635 | |
| 636 | func (c *Client) append(rw *bufio.ReadWriter, item *Item) error { |
| 637 | return c.populateOne(rw, "append", item) |