bootstrap

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Init

func Init(static fs.FS)

func InitStatic

func InitStatic(static fs.FS)

InitStatic 初始化静态文件

Types

type GinFS

type GinFS struct {
	FS http.FileSystem
}

func (*GinFS) Exists

func (b *GinFS) Exists(prefix string, filepath string) bool

Exists 文件是否存在

func (*GinFS) Open

func (b *GinFS) Open(name string) (http.File, error)

Open 打开文件

Jump to

Keyboard shortcuts

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