Documentation
¶
Index ¶
- Constants
- func GetTagsByCategory(contentType string, form *model.TagsForm) ([]string, error)
- func HandleQueryCategoryWithCount(c *fiber.Ctx, obj any) (any, error)
- func NewRenderCategory(categoryID, categoryPath string) *model.RenderCategory
- func QueryCategoryWithCount(siteId, contentObject string) ([]model.Category, error)
- func QueryContentByTags(contentType string, form *model.QueryByTagsForm) ([]string, error)
Constants ¶
View Source
const ( KeyDB = "admin.category.gorm.db" KeyNoCheckRouter = "admin.category.router.nocheck" KeyCheckRouter = "admin.category.router.check" )
Variables ¶
This section is empty.
Functions ¶
func GetTagsByCategory ¶
Query tags by category
func NewRenderCategory ¶
func NewRenderCategory(categoryID, categoryPath string) *model.RenderCategory
func QueryCategoryWithCount ¶
func QueryContentByTags ¶
func QueryContentByTags(contentType string, form *model.QueryByTagsForm) ([]string, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.