diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-04-26 09:01:40 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-04-26 09:01:40 -0400 |
| commit | e3213b3ef2c84387b66eeb731f5493c5e6da6a5d (patch) | |
| tree | 46b5ee148e7fd578d992f08ab89ba1d24a322d29 /todolist/store.go | |
| parent | a0f7203996439210b2a40663eeeeb8563ab03d68 (diff) | |
Get adding a todo working
Diffstat (limited to 'todolist/store.go')
| -rw-r--r-- | todolist/store.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/todolist/store.go b/todolist/store.go index 8b892bf..d3f42d2 100644 --- a/todolist/store.go +++ b/todolist/store.go @@ -3,10 +3,11 @@ package todolist type Store interface { Load() Todos() []Todo - //Save() + + Add(t *Todo) + Save() //Find(id int) Todo - //Add(t *Todo) //Remove(t *Todo) - //NextId() int + NextId() int } |
