Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyDate = time.Date(1, 1, 1, 0, 0, 0, 0, time.UTC)
Functions ¶
func ParseDates ¶
Types ¶
type Task ¶
type Task struct { Completed bool // If this task is completed Priority string // Priority for this task if set CompletionDate time.Time // Date this task was completed CreationDate time.Time // Date this task was created Description string // Task description, including all tags and contexts // Tags []string // All tags in the task description // Contexts []string // All contexts in the task description DueDate time.Time // Key value pair holding the due date for this task // Data map[string]string // All key value pairs in the task Deleted bool // If the task was deleted (exclude the task from the list) Hash string // Unique identifier for this task }
func ParseTask ¶
Formatting rules can be found at https://github.com/todotxt/todo.txt
func SortByDate ¶
Click to show internal directories.
Click to hide internal directories.