diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-06-12 09:49:38 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-06-12 09:49:38 -0400 |
| commit | d8d4510d2faebff633d6e98fa4812f2461ae85b6 (patch) | |
| tree | be474ce669a994767867f2224d8cdd4103271aee /todolist/store.go | |
| parent | fd9121e03c18c7dfd947e98ea4cec545f110a804 (diff) | |
Refactor todolist stuff out of the file store implementation
Diffstat (limited to 'todolist/store.go')
| -rw-r--r-- | todolist/store.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/todolist/store.go b/todolist/store.go index b488408..518a30e 100644 --- a/todolist/store.go +++ b/todolist/store.go @@ -4,18 +4,4 @@ type Store interface { Initialize() Load() Save() - Todos() []*Todo - - Add(t *Todo) - Delete(id int) - - Complete(id int) - Uncomplete(id int) - - Archive(id int) - Unarchive(id int) - - IndexOf(t *Todo) int - FindById(id int) *Todo - NextId() int } |
