Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { WithTx(tx *postgres.DBQuery) Service Get(listID, size, page int) (tasks []models.Task, extErr exterrors.ExtError) GetByID(taskID int) (task models.Task, extErr exterrors.ExtError) Create(listID int64, name, description string, position int16) (task models.Task, extErr exterrors.ExtError) Update(taskID int, name, description string, position int16, listID int64) (task models.Task, extErr exterrors.ExtError) Delete(taskID int) (extErr exterrors.ExtError) }
Click to show internal directories.
Click to hide internal directories.