Update is the same as Add in this implementation.
(obj interface{})
| 184 | |
| 185 | // Update is the same as Add in this implementation. |
| 186 | func (f *FIFO) Update(obj interface{}) error { |
| 187 | return f.Add(obj) |
| 188 | } |
| 189 | |
| 190 | // Delete removes an item. It doesn't add it to the queue, because |
| 191 | // this implementation assumes the consumer only cares about the objects, |