Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskUseCase ¶
type TaskUseCase interface { AllTasks(ctx context.Context) ([]*models.TaskModel, error) SaveTask(ctx context.Context, task models.TaskModel) error GetTask(ctx context.Context, id int) (*models.TaskModel, error) UpdateTask(ctx context.Context, id int, columns map[string]interface{}) error DeleteTask(ctx context.Context, id int) error }
Click to show internal directories.
Click to hide internal directories.