Documentation
¶
Index ¶
- Constants
- func GetRelations(siteId, categoryId, categoryPath, postId string, maxCount int) ([]model.RelationContent, error)
- func GetSuggestions(siteId, categoryId, categoryPath, postId string, maxCount int) ([]model.RelationContent, error)
- func HandleQueryTags(c *fiber.Ctx, obj any, tableName string) (any, error)
- func NewRenderContentFromPost(post *model.Post, relations bool) *model.RenderContent
- func QueryTags() ([]string, error)
Constants ¶
View Source
const ( KeyDB = "admin.post.gorm.db" KeyNoCheckRouter = "admin.post.router.nocheck" KeyCheckRouter = "admin.post.router.check" )
Variables ¶
This section is empty.
Functions ¶
func GetRelations ¶ added in v0.2.0
func GetRelations(siteId, categoryId, categoryPath, postId string, maxCount int) ([]model.RelationContent, error)
func GetSuggestions ¶ added in v0.2.0
func GetSuggestions(siteId, categoryId, categoryPath, postId string, maxCount int) ([]model.RelationContent, error)
func HandleQueryTags ¶ added in v0.2.0
func NewRenderContentFromPost ¶ added in v0.2.0
func NewRenderContentFromPost(post *model.Post, relations bool) *model.RenderContent
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.