category

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

func GetTagsByCategory(contentType string, form *model.TagsForm) ([]string, error)

Query tags by category

func HandleQueryCategoryWithCount

func HandleQueryCategoryWithCount(c *fiber.Ctx, obj any) (any, error)

func NewRenderCategory

func NewRenderCategory(categoryID, categoryPath string) *model.RenderCategory

func QueryCategoryWithCount

func QueryCategoryWithCount(siteId, contentObject string) ([]model.Category, error)

func QueryContentByTags

func QueryContentByTags(contentType string, form *model.QueryByTagsForm) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL