Documentation ¶ Index ¶ type Progress type Task func NewTask(title, description string) *Task type TaskList func NewTaskList(path string) (*TaskList, error) func (taskList *TaskList) Add(task *Task) error func (taskList *TaskList) Find(id uuid.UUID) *Task func (taskList *TaskList) Remove(task *Task) error func (taskList *TaskList) Update(oldTask, newTask *Task) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Progress ¶ type Progress string const ( NotStarted Progress = "Not Started" InProgress Progress = "In Progress" Completed Progress = "Completed" ) type Task ¶ type Task struct { Id uuid.UUID Title string Description string Status Progress } func NewTask ¶ func NewTask(title, description string) *Task type TaskList ¶ type TaskList struct { Path string Tasks []*Task } func NewTaskList ¶ func NewTaskList(path string) (*TaskList, error) func (*TaskList) Add ¶ func (taskList *TaskList) Add(task *Task) error func (*TaskList) Find ¶ func (taskList *TaskList) Find(id uuid.UUID) *Task func (*TaskList) Remove ¶ func (taskList *TaskList) Remove(task *Task) error func (*TaskList) Update ¶ func (taskList *TaskList) Update(oldTask, newTask *Task) error Source Files ¶ View all Source files task.gotask_list.go Click to show internal directories. Click to hide internal directories.