aboutsummaryrefslogtreecommitdiffstats
path: root/store.go
diff options
context:
space:
mode:
authorGrant Ammons <gammons@gmail.com>2016-04-24 09:55:07 -0400
committerGrant Ammons <gammons@gmail.com>2016-04-24 09:55:07 -0400
commitaf8b1814aa3f5a63e913923449b29cac748fba57 (patch)
treedeaa50b4be11217ae18d2c786fc8bed0d6efa8de /store.go
parentc34fdae510debc8d106a68f60799b64b98c9b2f5 (diff)
WIP on getting stores implemented
Diffstat (limited to 'store.go')
-rw-r--r--store.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/store.go b/store.go
new file mode 100644
index 0000000..006583a
--- /dev/null
+++ b/store.go
@@ -0,0 +1,11 @@
+package todolist
+
+type Store interface {
+ Load()
+ Save()
+
+ Find(id int) Todo
+ Add(t *Todo)
+ Remove(t *Todo)
+ NextId() int
+}