task

package
v0.0.0-...-2f98a9c Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearSavedTasks

func ClearSavedTasks() error

func GetFileLocation

func GetFileLocation() string

Types

type Task

type Task struct {
	Text     string
	Notified bool
	DueDate  time.Time
}

func FromString

func FromString(text string) (*Task, error)

func LoadTasks

func LoadTasks() ([]Task, error)

func (Task) Encode

func (t Task) Encode() (string, error)

func (Task) IsDue

func (t Task) IsDue() bool

func (Task) IsOld

func (t Task) IsOld() bool

func (Task) WriteToFile

func (t Task) WriteToFile() error

Jump to

Keyboard shortcuts

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