Documentation
¶
Index ¶
- type TagService
- func (s *TagService) CreateTag(tag *models.TagModel) error
- func (s *TagService) DeleteTag(id string) error
- func (s *TagService) GetTagByID(id string) (*models.TagModel, error)
- func (s *TagService) GetTagByName(name string) (*models.TagModel, error)
- func (s *TagService) ListTags(request http.Request, search string) (paginate.Page, error)
- func (s *TagService) UpdateTag(id string, tag *models.TagModel) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TagService ¶
type TagService struct {
// contains filtered or unexported fields
}
func NewTagService ¶
func NewTagService(ctx *context.ERPContext) *TagService
func (*TagService) DeleteTag ¶
func (s *TagService) DeleteTag(id string) error
func (*TagService) GetTagByID ¶
func (s *TagService) GetTagByID(id string) (*models.TagModel, error)
func (*TagService) GetTagByName ¶
func (s *TagService) GetTagByName(name string) (*models.TagModel, error)
Click to show internal directories.
Click to hide internal directories.