Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTaskNotFound = errors.New("taqque-internal-domain-repositories-task-repository: task not found")
Functions ¶
This section is empty.
Types ¶
type TaskRepository ¶
type TaskRepository interface { GetMultiOrderByPriorityDescAndSortKeyAsc(ctx context.Context, limit *int) ([]*model.Task, error) Create(ctx context.Context, task *model.Task) error GetFirstByPriorityOrderBySortKeyAsc(ctx context.Context, priority float64) (*model.Task, error) Update(ctx context.Context, task *model.Task) error }
Click to show internal directories.
Click to hide internal directories.