resources

package
v0.0.0-...-a23bd61 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourceBox packr.Box = packr.NewBox(".")

Functions

func AssetString

func AssetString(name string) (string, error)

AssetString returns an asset as a string.

func GetAsset

func GetAsset(name string) ([]byte, error)

func GetEmbeddedAsset

func GetEmbeddedAsset(name string) ([]byte, error)

func GetReader

func GetReader(name string) (io.Reader, error)

GetReader returns an asset as a reader.

Types

This section is empty.

Jump to

Keyboard shortcuts

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