Documentation ¶
Index ¶
- type MongoDB
- func (db *MongoDB) AddTask(task tasks.Task) error
- func (db *MongoDB) Connect() error
- func (db *MongoDB) DeleteTask(id string) error
- func (db *MongoDB) GetTask(taskID string) (tasks.Task, bool)
- func (db *MongoDB) GetTasks(ownerID string) ([]tasks.Task, error)
- func (db *MongoDB) UpdateTask(task tasks.Task) error
- type TaskDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDB ¶
type MongoDB struct {
// contains filtered or unexported fields
}
func (*MongoDB) DeleteTask ¶
Click to show internal directories.
Click to hide internal directories.