aboutsummaryrefslogtreecommitdiffstats
path: root/todolist/store.go
diff options
context:
space:
mode:
authorGrant Ammons <gammons@gmail.com>2016-05-05 15:31:47 -0400
committerGrant Ammons <gammons@gmail.com>2016-05-05 15:31:47 -0400
commit89d111b7f0a05331ce87cc373108a164af23109e (patch)
treed244c59acde86aedeee644ef13dcdef4c7469308 /todolist/store.go
parent4fa6d42eda49de8e5e5de88d4aaaa93f83d3fe65 (diff)
Handle case where todos.json cant be loaded
Diffstat (limited to 'todolist/store.go')
-rw-r--r--todolist/store.go1
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