repositories

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 3 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL