diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-05-05 15:31:47 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-05-05 15:31:47 -0400 |
| commit | 89d111b7f0a05331ce87cc373108a164af23109e (patch) | |
| tree | d244c59acde86aedeee644ef13dcdef4c7469308 /todolist/store.go | |
| parent | 4fa6d42eda49de8e5e5de88d4aaaa93f83d3fe65 (diff) | |
Handle case where todos.json cant be loaded
Diffstat (limited to 'todolist/store.go')
| -rw-r--r-- | todolist/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/todolist/store.go b/todolist/store.go index 6892f58..b488408 100644 --- a/todolist/store.go +++ b/todolist/store.go @@ -1,6 +1,7 @@ package todolist type Store interface { + Initialize() Load() Save() Todos() []*Todo |
