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

Documentation

Index

Constants

View Source
const (
	KeyPostDB            = "post.gorm.db"
	KeyPostNoCheckRouter = "post.router.nocheck"
	KeyPostCheckRouter   = "post.router.check"
)

Variables

This section is empty.

Functions

func BeforeQueryRenderPost

func BeforeQueryRenderPost(ctx *fiber.Ctx, queryResult *model.QueryResult) (any, error)

func BeforeRenderPost

func BeforeRenderPost(ctx *fiber.Ctx, vptr any) (any, error)

func GetPostOrPageDB

func GetPostOrPageDB(ctx *fiber.Ctx, isCreate bool) *gorm.DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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