Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalConfig = &Config{FileName: ".tasks.yml"}
View Source
var Tasks = []*Task{}
Functions ¶
func RemoveTask ¶
Types ¶
type Task ¶
type Task struct { // Data about the user Id string `yaml:"id"` Owner string `yaml:"owner"` // Data about the task Title string `yaml:"title"` Description string `yaml:"description"` // Meta data about the task Tags []string `yaml:"tags"` Complete bool `yaml:"complete"` Saved bool `yaml:"-"` }
func (*Task) MarkComplete ¶
Mark task as complete, this can only be done if the tasks Owner field to the global config user field
Click to show internal directories.
Click to hide internal directories.