(obj interface{})
| 51 | } |
| 52 | |
| 53 | func (u *UndeltaStore) Update(obj interface{}) error { |
| 54 | if err := u.Store.Update(obj); err != nil { |
| 55 | return err |
| 56 | } |
| 57 | u.PushFunc(u.Store.List()) |
| 58 | return nil |
| 59 | } |
| 60 | |
| 61 | func (u *UndeltaStore) Delete(obj interface{}) error { |
| 62 | if err := u.Store.Delete(obj); err != nil { |