Documentation ¶
Index ¶
- func AddTask(cfg Config, task model.Task) (model.Task, error)
- func CreateTable(cfg Config) error
- func DeleteTask(cfg Config, task model.Task) error
- func GetAllTasks(cfg Config) ([]model.Task, error)
- func RebuildDb(cfg Config) error
- func SeedData(cfg Config) error
- func UpdateTask(cfg Config, task model.Task) (model.Task, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTable ¶
func GetAllTasks ¶
GetAllTasks lists all tasks in the database
Types ¶
Click to show internal directories.
Click to hide internal directories.