Documentation ¶
Index ¶
- type ComntService
- func (s *ComntService) DeleteComments(id uint) error
- func (s *ComntService) GetComments(championid, version string, pager *request.Pager) (res []*model.Comment, err error)
- func (s *ComntService) GetSingleComment(id uint) (res *model.Comment, err error)
- func (s *ComntService) PostComment(tar *model.Comment) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComntService ¶
type ComntService struct {
// contains filtered or unexported fields
}
func NewCommentService ¶
func NewCommentService() *ComntService
func (*ComntService) DeleteComments ¶
func (s *ComntService) DeleteComments(id uint) error
func (*ComntService) GetComments ¶
func (*ComntService) GetSingleComment ¶
func (s *ComntService) GetSingleComment(id uint) (res *model.Comment, err error)
func (*ComntService) PostComment ¶
func (s *ComntService) PostComment(tar *model.Comment) error
Click to show internal directories.
Click to hide internal directories.