diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-05-02 07:32:05 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-05-02 07:32:05 -0400 |
| commit | b91b9d073680a0371af825238af230e9618aea12 (patch) | |
| tree | baf9ffba44af3c1b36c76dc9c0cc18e6402c03b1 /todolist/store.go | |
| parent | 34c89ec2ca4b458adb94534c4fae44c921181f59 (diff) | |
Add archive/unarchive
Diffstat (limited to 'todolist/store.go')
| -rw-r--r-- | todolist/store.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/todolist/store.go b/todolist/store.go index 2397d08..d535036 100644 --- a/todolist/store.go +++ b/todolist/store.go @@ -11,6 +11,9 @@ type Store interface { Complete(id int) Uncomplete(id int) + Archive(id int) + Unarchive(id int) + IndexOf(t *Todo) int FindById(id int) *Todo NextId() int |
