Documentation ¶
Index ¶
- type Service
- func (s *Service) AddCategory(parentCategoryId int64, name string, description string, ...) (map[string]interface{}, error)
- func (s *Service) DeleteCategory(categoryId int64) error
- func (s *Service) GetCategories(groupId int64) ([]interface{}, error)
- func (s *Service) GetCategories2(groupId int64, parentCategoryId int64, start int, end int) ([]interface{}, error)
- func (s *Service) GetCategoriesCount(groupId int64, parentCategoryId int64) (int, error)
- func (s *Service) GetCategory(categoryId int64) (map[string]interface{}, error)
- func (s *Service) GetSubcategoryIds(categoryIds []interface{}, groupId int64, categoryId int64) error
- func (s *Service) UpdateCategory(categoryId int64, parentCategoryId int64, name string, description string, ...) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AddCategory ¶
func (*Service) DeleteCategory ¶
func (*Service) GetCategories ¶
func (*Service) GetCategories2 ¶
func (*Service) GetCategoriesCount ¶
func (*Service) GetCategory ¶
func (*Service) GetSubcategoryIds ¶
Click to show internal directories.
Click to hide internal directories.