From 13780f0ece7b35106194a4fea92b2ba27c0c7814 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Mon, 16 Jul 2018 12:58:25 -0700 Subject: [PATCH] Add wtf.Checklist to Todoist module --- todoist/project.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/todoist/project.go b/todoist/project.go index ce1a31ec..50e95e36 100644 --- a/todoist/project.go +++ b/todoist/project.go @@ -10,6 +10,7 @@ type Project struct { todoist.Project index int + list wtf.Checklist tasks []todoist.Task } @@ -21,7 +22,9 @@ func NewProject(id int) *Project { proj := &Project{ Project: project, - index: -1, + + index: -1, + list: wtf.NewChecklist(), } proj.loadTasks()