taskgopher

package
v0.0.0-...-b28f82f Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Store    storage.Storage
	Printer  printer.Printer
	TaskList task.List
}

App is the structure of the taskgopher app

func NewApp

func NewApp(location string) *App

NewApp is creating the taskgopher app

func (*App) AddTask

func (a *App) AddTask(mod *parser.Modification) error

AddTask is creating a task

func (*App) CompleteTask

func (a *App) CompleteTask(filter *parser.Filter) error

CompleteTask is completing a task

func (*App) DeleteTask

func (a *App) DeleteTask(filter *parser.Filter) error

DeleteTask is deleting a task

func (*App) ListTasks

func (a *App) ListTasks(filter *parser.Filter) error

ListTasks is listing tasks

func (*App) ModifyTask

func (a *App) ModifyTask(filter *parser.Filter, mod *parser.Modification) error

ModifyTask is modifying a task

func (*App) ShowTask

func (a *App) ShowTask(filter *parser.Filter) error

ShowTask is showing details of a task

Jump to

Keyboard shortcuts

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