From b91b9d073680a0371af825238af230e9618aea12 Mon Sep 17 00:00:00 2001 From: Grant Ammons Date: Mon, 2 May 2016 07:32:05 -0400 Subject: Add archive/unarchive --- todolist/store.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'todolist/store.go') diff --git a/todolist/store.go b/todolist/store.go index 2397d08..d535036 100644 --- a/todolist/store.go +++ b/todolist/store.go @@ -11,6 +11,9 @@ type Store interface { Complete(id int) Uncomplete(id int) + Archive(id int) + Unarchive(id int) + IndexOf(t *Todo) int FindById(id int) *Todo NextId() int -- cgit v1.3