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(taskID, size, page int) (comments []models.Comment, extErr exterrors.ExtError)
GetByID(commentID int) (comment models.Comment, extErr exterrors.ExtError)
Create(taskID int64, text string) (comment models.Comment, extErr exterrors.ExtError)
Update(commentID int, text string) (comment models.Comment, extErr exterrors.ExtError)
Delete(commentID int) (extErr exterrors.ExtError)
}
Click to show internal directories.
Click to hide internal directories.