Documentation
¶
Index ¶
- type ContentCommentService
- func (s *ContentCommentService) CreateContentComment(data *models.ContentCommentModel) error
- func (s *ContentCommentService) DeleteContentComment(id string) error
- func (s *ContentCommentService) GetContentCommentByID(id string) (*models.ContentCommentModel, error)
- func (s *ContentCommentService) GetContentComments(request http.Request, search string) (paginate.Page, error)
- func (s *ContentCommentService) UpdateContentComment(id string, data *models.ContentCommentModel) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentCommentService ¶
type ContentCommentService struct {
// contains filtered or unexported fields
}
func NewContentCommentService ¶
func NewContentCommentService(db *gorm.DB, ctx *context.ERPContext) *ContentCommentService
func (*ContentCommentService) CreateContentComment ¶
func (s *ContentCommentService) CreateContentComment(data *models.ContentCommentModel) error
func (*ContentCommentService) DeleteContentComment ¶
func (s *ContentCommentService) DeleteContentComment(id string) error
func (*ContentCommentService) GetContentCommentByID ¶
func (s *ContentCommentService) GetContentCommentByID(id string) (*models.ContentCommentModel, error)
func (*ContentCommentService) GetContentComments ¶
func (*ContentCommentService) UpdateContentComment ¶
func (s *ContentCommentService) UpdateContentComment(id string, data *models.ContentCommentModel) error
Click to show internal directories.
Click to hide internal directories.