handlers

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorDefault = "\x1b[39m"
	ColorRed     = "\x1b[91m"
	ColorGreen   = "\x1b[32m"
	ColorPurple  = "\x1b[35m"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Tasks

type Tasks []item

func (*Tasks) Add

func (t *Tasks) Add(task string) error

func (*Tasks) Delete

func (t *Tasks) Delete(taskNum int) error

func (*Tasks) DeleteAll

func (t *Tasks) DeleteAll() error

func (*Tasks) Done

func (t *Tasks) Done(taskNum int) error

func (*Tasks) List

func (t *Tasks) List() error

func (*Tasks) Load

func (t *Tasks) Load(filenme string) error

func (*Tasks) Save

func (t *Tasks) Save(filename string) error

func (*Tasks) Update

func (t *Tasks) Update(taskNum int, task string) error

Jump to

Keyboard shortcuts

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