resource

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AssetPaths = map[string]string{
	"all.min.css":      "/dist/css/all.min.52bc98f0f3.css",
	"all.min.js":       "/dist/js/all.min.8425540791.js",
	"all_2.min.js":     "/dist/js/all_2.min.38a2a946b0.js",
	"datatable.min.js": "/dist/js/datatable.min.581cdc109b.js",
	"form.min.js":      "/dist/js/form.min.f8678914e9.js",
	"html5shiv.min.js": "/dist/js/html5shiv.min.js",
	"respond.min.js":   "/dist/js/respond.min.js",
	"tree.min.js":      "/dist/js/tree.min.e1faf8b7de.js",
	"treeview.min.js":  "/dist/js/treeview.min.7780d3bb0f.js",
}
View Source
var AssetsList = []string{
	"/dist/css/all.min.52bc98f0f3.css",
	"/dist/css/blue.png",
	"/dist/css/blue@2x.png",
	"/dist/css/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7g.ttf",
	"/dist/css/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdr.ttf",
	"/dist/css/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdr.ttf",
	"/dist/css/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdr.ttf",
	"/dist/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDc.ttf",
	"/dist/fonts/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCds18E.ttf",
	"/dist/fonts/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkids18E.ttf",
	"/dist/fonts/FontAwesome.otf",
	"/dist/fonts/fontawesome-webfont.eot",
	"/dist/fonts/fontawesome-webfont.svg",
	"/dist/fonts/fontawesome-webfont.ttf",
	"/dist/fonts/fontawesome-webfont.woff",
	"/dist/fonts/fontawesome-webfont.woff2",
	"/dist/fonts/glyphicons-halflings-regular.eot",
	"/dist/fonts/glyphicons-halflings-regular.svg",
	"/dist/fonts/glyphicons-halflings-regular.ttf",
	"/dist/fonts/glyphicons-halflings-regular.woff",
	"/dist/fonts/glyphicons-halflings-regular.woff2",
	"/dist/fonts/ionicons.ttf",
	"/dist/fonts/ionicons.woff",
	"/dist/img/avatar04.png",
	"/dist/img/clear.png",
	"/dist/img/loading.gif",
	"/dist/img/plugin_default.png",
	"/dist/img/plugin_more.png",
	"/dist/img/sprite-skin-nice.png",
	"/dist/img/ui-icons_444444_256x240.png",
	"/dist/img/ui-icons_555555_256x240.png",
	"/dist/img/ui-icons_777620_256x240.png",
	"/dist/img/ui-icons_777777_256x240.png",
	"/dist/img/ui-icons_cc0000_256x240.png",
	"/dist/img/ui-icons_ffffff_256x240.png",
	"/dist/js/all.min.8425540791.js",
	"/dist/js/all_2.min.38a2a946b0.js",
	"/dist/js/datatable.min.581cdc109b.js",
	"/dist/js/form.min.f8678914e9.js",
	"/dist/js/html5shiv.min.js",
	"/dist/js/respond.min.js",
	"/dist/js/tree.min.e1faf8b7de.js",
	"/dist/js/treeview.min.7780d3bb0f.js",
}

Functions

func Asset

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

Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.

func AssetDir

func AssetDir(name string) ([]string, error)

AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:

data/
  foo.txt
  img/
    a.png
    b.png

then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.

func AssetNames

func AssetNames() []string

AssetNames returns the names of the assets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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