Documentation
¶
Index ¶
- func Run(manager *Manager) error
- type Manager
- func (m *Manager) Add(description string, priority Priority) *Task
- func (m *Manager) AddWithNote(description string, priority Priority, noteID string) *Task
- func (m *Manager) Delete(id int) error
- func (m *Manager) Done(id int) error
- func (m *Manager) Get(id int) (*Task, error)
- func (m *Manager) List(showDone bool) []*Task
- func (m *Manager) ListByNote(noteID string) []*Task
- func (m *Manager) SetNoteID(id int, noteID string) error
- func (m *Manager) Toggle(id int) error
- func (m *Manager) UnlinkNote(id int) error
- type Model
- type Priority
- type Status
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) AddWithNote ¶
func (*Manager) ListByNote ¶
func (*Manager) UnlinkNote ¶
Click to show internal directories.
Click to hide internal directories.