Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskRepository ¶
type TaskRepository interface { GetTask(taskID uint) (task models.Task, err error) ListTasks(criteria models.Task) (tasks map[int]models.Task, err error) CreateTask(task models.Task) (result models.Task, err error) EditTask(taskID uint, requestTask models.Task) (result models.Task, err error) EditTaskStatus(taskID uint, status string) (result models.Task, err error) DeleteTask(taskID uint) (err error) }
type TaskUsecase ¶
type TaskUsecase interface { GetTask(taskID uint) (task models.Task, err error) ListTasks(criteria models.TaskBody) (tasks map[int]models.Task, err error) CreateTask(task models.TaskBody) (result models.Task, err error) EditTask(taskID uint, requestTask models.TaskBody) (result models.Task, err error) EditTaskStatus(taskID uint, requestTask models.TaskBody) (result models.Task, err error) DeleteTask(taskID uint) (err error) }
Click to show internal directories.
Click to hide internal directories.