utils

package
v0.0.0-...-f978505 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCss

func GetCss(router *gin.Engine, relativePath string, content string)

func GetHtml

func GetHtml(router *gin.Engine, relativePath string, content string)

func GetJs

func GetJs(router *gin.Engine, relativePath string, hexContent string)

func GetJson

func GetJson(router *gin.Engine, relativePath string, json string)

func GetJsonEx

func GetJsonEx(router *gin.Engine, relativePath string, content func() []byte)

func GetOther

func GetOther(router *gin.Engine, relativePath string, hexContent string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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