markdone

package
v0.0.0-...-f4802cb Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteFile

func WriteFile(text string) error

Types

type Task

type Task struct {
	Title     string
	Completed bool
}

type Todo

type Todo struct {
	// contains filtered or unexported fields
}

func ParseTodos

func ParseTodos() (todo Todo, err error)

func (Todo) Add

func (todo Todo) Add(c gocli.Command) error

func (Todo) ClearCompleted

func (todo Todo) ClearCompleted(c gocli.Command) error

func (Todo) Complete

func (todo Todo) Complete(c gocli.Command) error

func (Todo) List

func (todo Todo) List(c gocli.Command) error

func (Todo) Remove

func (todo Todo) Remove(c gocli.Command) error

func (Todo) Uncomplete

func (todo Todo) Uncomplete(c gocli.Command) error

Jump to

Keyboard shortcuts

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