From d8d4510d2faebff633d6e98fa4812f2461ae85b6 Mon Sep 17 00:00:00 2001 From: Grant Ammons Date: Sun, 12 Jun 2016 09:49:38 -0400 Subject: Refactor todolist stuff out of the file store implementation --- todolist/store.go | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'todolist/store.go') diff --git a/todolist/store.go b/todolist/store.go index b488408..518a30e 100644 --- a/todolist/store.go +++ b/todolist/store.go @@ -4,18 +4,4 @@ type Store interface { Initialize() Load() Save() - Todos() []*Todo - - Add(t *Todo) - Delete(id int) - - 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