Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskInteractor ¶
type TaskInteractor interface {
GetAll(ctx context.Context) ([]task.Task, error)
Get(ctx context.Context, id int) (*task.Task, error)
Create(ctx context.Context, task task.Task) (int, error)
Update(ctx context.Context, task task.Task) (*task.Task, error)
Delete(ctx context.Context, id int) (bool, error)
}
func NewTaskInteractor ¶
func NewTaskInteractor(repository task.TaskRepository) TaskInteractor
Click to show internal directories.
Click to hide internal directories.