Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Home is the directory for storing task files and settings. // Home can be overriden with YAP_HOME environment variable. Home = "~/.yap" )
Functions ¶
Types ¶
type Task ¶
type Task struct {
ID uint16
UUID uuid.UUID
Title string `key:"title"`
CreatedAt time.Time `key:"created_at"`
CompletedAt *time.Time `key:"completed_at"`
DueDate *datetime.DateTime `key:"due_date"`
WaitDate *datetime.DateTime `key:"wait_date"`
}
Task is a file stored in tasks dir.
func ListCompleted ¶
ListCompleted returns all completed tasks.
Click to show internal directories.
Click to hide internal directories.