task

package
v0.0.0-...-d6722ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	Title     string     `json:"title"`
	Starts    *time.Time `json:"starts,omitempty"`
	Scheduled *time.Time `json:"scheduled,omitempty"`
	Due       *time.Time `json:"due,omitempty"`
	Priority  *int       `json:"priority,omitempty"`
}

func FilterAndSortTasks

func FilterAndSortTasks(tasks []Task) []Task

filterAndSortTasks filters and sorts tasks based on specified criteria.

func ParseTaskLine

func ParseTaskLine(task string) (Task, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL