Documentation ¶ Index ¶ Variables func AddTask(s string) error type Task func GetTask(ref string) (Task, error) Constants ¶ This section is empty. Variables ¶ View Source var ( TableName = "TodoPlanner" ) Functions ¶ func AddTask ¶ func AddTask(s string) error Types ¶ type Task ¶ type Task struct { Ref string `json:"ref"` Name string `json:"name"` Priority int `json:"priority"` Completed bool `json:"completed"` Due int `json:"due"` Type int `json:"type"` Order int `json:"order"` Parent string `json:"parent"` } func GetTask ¶ func GetTask(ref string) (Task, error) Source Files ¶ View all Source files todoplanner.go Click to show internal directories. Click to hide internal directories.