post

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: 12 Imported by: 0

Documentation

Index

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 HandleQueryTags(c *fiber.Ctx, obj any, tableName string) (any, error)

func NewRenderContentFromPost added in v0.2.0

func NewRenderContentFromPost(post *model.Post, relations bool) *model.RenderContent

func QueryTags added in v0.2.0

func QueryTags() ([]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