assets

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// store static files in memory by statik
	FileSystem http.FileSystem
)

Functions

func Load

func Load(path string) (err error)

if path is empty, load assets in memory or set FileSystem using disk files

func ReadFile

func ReadFile(file string) (content string, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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