Help us shape the future of Go! Take the 2026 Go Developer Survey

common

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppConfigModel *models.AppConfig
	AssetsFS       embed.FS // 嵌入的资源文件系统
)

Functions

func AssetExists

func AssetExists(path string) bool

AssetExists 检查嵌入的资源文件是否存在

func GetAssetFile

func GetAssetFile(path string) ([]byte, error)

GetAssetFile 获取嵌入的资源文件内容

Types

This section is empty.

Jump to

Keyboard shortcuts

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