resource

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFooterLink() map[string]string

GetFooterLink 获取页脚链接

func GetStaticFS

func GetStaticFS() (fs.FS, error)

GetStaticFS 返回静态文件的文件系统

func GetTemplates

func GetTemplates() *template.Template

GetTemplates 返回所有模板

func GetTemplatesFS

func GetTemplatesFS() embed.FS

func Iterate added in v0.0.2

func Iterate(count int) []int

Types

type MetaItem

type MetaItem struct {
	Name    string `json:"name"`
	Content string `json:"content"`
}

func GetMetaList

func GetMetaList() []MetaItem

Jump to

Keyboard shortcuts

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