Documentation
¶
Index ¶
- Constants
- func HandleMakePageDuplicate(c *fiber.Ctx, obj any) (any, error)
- func HandleMakePagePublish(c *fiber.Ctx, obj any, publish bool) (any, error)
- func HandleQueryTags(c *fiber.Ctx, obj any, tableName string) (any, error)
- func HandleSaveDraft(c *fiber.Ctx, obj any) (any, error)
- func MakeDuplicate(obj any) error
- func MakePublish(siteID, ID string, obj any, publish bool) error
- func NewRenderContentFromPage(page *model.Page) *model.RenderContent
- func QueryTags() ([]string, error)
- func SafeDraft(siteID, ID string, obj any, draft string) error
Constants ¶
View Source
const ( KeyDB = "admin.page.gorm.db" KeyNoCheckRouter = "admin.page.router.nocheck" KeyCheckRouter = "admin.page.router.check" )
Variables ¶
This section is empty.
Functions ¶
func HandleMakePagePublish ¶
func MakeDuplicate ¶ added in v0.2.0
func NewRenderContentFromPage ¶ added in v0.2.0
func NewRenderContentFromPage(page *model.Page) *model.RenderContent
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.