todo

package
v0.0.0-...-e944a44 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveItems

func SaveItems(filename string, items []Item) error

Types

type Item

type Item struct {
	Text     string
	Priority int
	// contains filtered or unexported fields
}

func ReadItems

func ReadItems(filename string) ([]Item, error)

func (*Item) Label

func (i *Item) Label() string

func (*Item) PrettyPriority

func (i *Item) PrettyPriority() string

func (*Item) SetPriority

func (i *Item) SetPriority(priority int)

Jump to

Keyboard shortcuts

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