Documentation ¶
Index ¶
- type Db
- func (d *Db) AddTask(name, cmd string) error
- func (d *Db) DeleteTask(q string) error
- func (d *Db) DeleteTaskByName(name string) error
- func (d *Db) GetAllTasks() ([]Task, error)
- func (d *Db) GetTask(name string) (Task, bool)
- func (d *Db) Init() error
- func (d *Db) Truncate() error
- func (d *Db) UpdateTask(name, cmd string) error
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db ¶
type Db struct {
// contains filtered or unexported fields
}
func (*Db) DeleteTask ¶
func (*Db) DeleteTaskByName ¶
func (*Db) GetAllTasks ¶
func (*Db) UpdateTask ¶
Click to show internal directories.
Click to hide internal directories.