assets

package
v0.0.0-...-0b17b06 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AssetFileSystem = filter.Keep(http.Dir("./web/"), func(filepath string, file os.FileInfo) bool {
	if file.IsDir() {
		return true
	}
	if path.Ext(filepath) != ".html" {
		return true
	}
	return false
})

AssetFileSystem contains the asset files and maps to a native filesystem during development

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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