todo

package module
v0.0.0-...-ae22ce5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 6 Imported by: 0

README

c.l.i.g.o

Documentation

Index

Constants

View Source
const (
	ColorDefault = "\x1b[39m"

	ColorRed   = "\x1b[91m"
	ColorGreen = "\x1b[32m"
	ColorBlue  = "\x1b[94m"
	ColorGray  = "\x1b[90m"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Todos

type Todos []item

func (*Todos) Add

func (t *Todos) Add(task string)

Add method in

func (*Todos) Complete

func (t *Todos) Complete(index int) error

Completed

func (*Todos) CountPending

func (t *Todos) CountPending() int

func (*Todos) Deletion

func (t *Todos) Deletion(index int) error

Deletion

func (*Todos) Load

func (t *Todos) Load(filename string) error

Load Function

func (*Todos) Print

func (t *Todos) Print()

Print functionality

func (*Todos) Store

func (t *Todos) Store(filename string) error

Store function

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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