1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Add wtf.Checklist to Todoist module

This commit is contained in:
Chris Cummer 2018-07-16 12:58:25 -07:00
parent c235d8a566
commit 13780f0ece

View File

@ -10,6 +10,7 @@ type Project struct {
todoist.Project todoist.Project
index int index int
list wtf.Checklist
tasks []todoist.Task tasks []todoist.Task
} }
@ -21,7 +22,9 @@ func NewProject(id int) *Project {
proj := &Project{ proj := &Project{
Project: project, Project: project,
index: -1, index: -1,
list: wtf.NewChecklist(),
} }
proj.loadTasks() proj.loadTasks()