todo

package
v0.0.0-...-7dfa968 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTask

func AddTask(kv *db.KV, task string)

func Delete

func Delete(kv *db.KV, id int64) error

func GetTodos

func GetTodos(kv *db.KV, startTime, endTime time.Time) error

func ToggleCompleteTodo

func ToggleCompleteTodo(kv *db.KV, id int64) error

Types

type Todos

type Todos []item

func (*Todos) CountPending

func (t *Todos) CountPending() int

func (*Todos) Print

func (t *Todos) Print()

Jump to

Keyboard shortcuts

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