Documentation
¶
Index ¶
- Constants
- func Add(args []string) (ok bool)
- func All(project, label string, fullTime bool) (ok bool)
- func Backlog(project, label string, fullTime bool) bool
- func Claim(id uint) (ok bool)
- func Completed(project, label string, fullTime bool) bool
- func Done(id uint) (ok bool)
- func Modify(id uint, args []string) (ok bool)
- func ParseLabel(token string) (string, bool)
- func ParseProject(token string) (string, bool)
- func Remove(id uint) (ok bool)
- func Report() bool
- func ResetCompleted() bool
- func Return(id uint) (ok bool)
- func TODO(project, label string, fullTime bool) bool
- func Undo(id uint) (ok bool)
- type List
- type Store
- func (s Store) Add(t Task) (id uint, ok bool)
- func (s Store) Claim(id uint) (ok bool)
- func (s Store) Done(id uint) bool
- func (s Store) Modify(t Task) (ok bool)
- func (s Store) Remove(id uint) bool
- func (s Store) Report() (ok bool)
- func (s Store) Reset(name string) bool
- func (s Store) Return(id uint) bool
- func (s Store) Undo(id uint) (ok bool)
- type Task
Constants ¶
View Source
const TaskFmt = "T:%d C:%q F:%q P:%q L:%q N:%q\n"
TaskFmt is the Scanf and Printf format string used for reading and saving Tasks
Variables ¶
This section is empty.
Functions ¶
func ParseLabel ¶
ParseLabel decodes the name of a label
func ParseProject ¶
ParseProject decodes the name of a project
func ResetCompleted ¶
func ResetCompleted() bool
ResetCompleted permanently deletes all completed tasks
Types ¶
type List ¶
type List []Task
List is a list of one or more tasks
type Store ¶
Store contains multiple lists of tasks
Click to show internal directories.
Click to hide internal directories.