gotodo

package module
v0.0.0-...-12b4004 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

ToDo

This application just built for learning purposes.

Here is how it looks like in Ubuntu 22.04 terminal. TODO

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)

func (*Todos) Complete

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

func (*Todos) Delete

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

func (*Todos) Load

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

func (*Todos) PendingCount

func (t *Todos) PendingCount() int

func (*Todos) Print

func (t *Todos) Print()

func (*Todos) Store

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

Directories

Path Synopsis
cmd
todo command

Jump to

Keyboard shortcuts

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