Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO interface { WithTx(tx *postgres.DBQuery) DAO Get(taskID, size, page int) (lists []models.Comment, err error) GetByID(commentID int) (comment models.Comment, err error) Insert(comment models.Comment) (_ models.Comment, err error) Update(comment models.Comment) (_ models.Comment, err error) Delete(commentID int) (err error) }
func NewCommentDao ¶
func NewCommentDao() DAO
Click to show internal directories.
Click to hide internal directories.