assets

package
v0.0.0-...-d1a9080 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Assets embed.FS

Assets contains all the static files needed by the app

Functions

func AssetMap

func AssetMap() map[string]string

AssetMap returns the loaded asset map.

func StaticFilesFS

func StaticFilesFS() http.FileSystem

StaticFilesFS returns the assets "www" subfolder as an HTTP filesystem.

func TemplatesFS

func TemplatesFS() fs.FS

TemplatesFS returns the assets "templates" subfolder as an fs.FS

Types

This section is empty.

Jump to

Keyboard shortcuts

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