Documentation
¶
Index ¶
- Constants
- func HandleAdd(ctx *cli.Context) error
- func HandleDelete(ctx *cli.Context) error
- func HandleDeleteDone(ctx *cli.Context) error
- func HandleDeleteInProgress(ctx *cli.Context) error
- func HandleDeleteTodo(ctx *cli.Context) error
- func HandleList(ctx *cli.Context) error
- func HandleListDone(ctx *cli.Context) error
- func HandleListInProgress(ctx *cli.Context) error
- func HandleListTodo(ctx *cli.Context) error
- func HandleMarkDone(ctx *cli.Context) error
- func HandleMarkInProgress(ctx *cli.Context) error
- func HandleUpdate(ctx *cli.Context) error
- func Load(ctx *cli.Context) error
- func New() *cli.App
- func Save(ctx *cli.Context) error
- type Task
- type TaskStatus
- type Tasks
Constants ¶
View Source
const (
DB_NAME = "db.json"
)
Variables ¶
This section is empty.
Functions ¶
func HandleDelete ¶
func HandleDeleteDone ¶
func HandleDeleteInProgress ¶
func HandleDeleteTodo ¶
func HandleList ¶
func HandleListDone ¶
func HandleListInProgress ¶
func HandleListTodo ¶
func HandleMarkDone ¶
func HandleMarkInProgress ¶
func HandleUpdate ¶
Types ¶
type Task ¶
type TaskStatus ¶
type TaskStatus int
const ( STATUS_TODO TaskStatus = 0 STATUS_IN_PROGRESS TaskStatus = 1 STATUS_DONE TaskStatus = 2 )
func (TaskStatus) String ¶
func (s TaskStatus) String() string
Click to show internal directories.
Click to hide internal directories.