Documentation ¶
Index ¶
- func ChangeTaskStatus(cfg *database.Config, taskID string, expectedStatuses []dto.TaskStatus, ...) error
- func CreateTask(cfg *database.Config, t *dto.Task) error
- func ListTasks(cfg *database.Config, due time.Time, allTasks bool) ([]dto.Task, error)
- func Migrate(cfg *database.Config, checkIfEmpty bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeTaskStatus ¶
func ChangeTaskStatus(cfg *database.Config, taskID string, expectedStatuses []dto.TaskStatus, newStatus dto.TaskStatus) error
ChangeTaskStatus changes the status of the task in the database
func CreateTask ¶
CreateTask creates the task in the database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.