Versions in this module Expand all Collapse all v1 v1.0.0 Aug 24, 2023 Changes in this version + func NewTaskHandler(taskRepositoryDepenndency dependency.TaskRepositoryDependency) outer.TaskUseCase + type TaskHandler struct + TaskRepositoryDependency dependency.TaskRepositoryDependency + func (r *TaskHandler) AllTasks(ctx context.Context) ([]*models.TaskModel, error) + func (r *TaskHandler) DeleteTask(ctx context.Context, id int) error + func (r *TaskHandler) GetTask(ctx context.Context, id int) (*models.TaskModel, error) + func (r *TaskHandler) SaveTask(ctx context.Context, task models.TaskModel) error + func (r *TaskHandler) UpdateTask(ctx context.Context, id int, columns map[string]interface{}) error