Documentation ¶
Index ¶
- type BoltStore
- func (bs *BoltStore) All() (tasks []*task.Task)
- func (bs *BoltStore) Create(tsk *task.Task) (createdTask *task.Task)
- func (bs *BoltStore) Delete(id string)
- func (bs *BoltStore) DeleteAll()
- func (bs *BoltStore) Get(id string) (foundTask *task.Task)
- func (bs *BoltStore) Update(id string, tsk *task.Task) (updateTask *task.Task)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltStore ¶
type BoltStore struct {
// contains filtered or unexported fields
}
BoltStore is a task store implementaiton based on Bolt
func (*BoltStore) DeleteAll ¶
func (bs *BoltStore) DeleteAll()
DeleteAll removes all tasks from bolt db
Click to show internal directories.
Click to hide internal directories.