mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Run gofmt when building assets
This commit is contained in:
parent
e5dfacb4bb
commit
f729aece51
3
Makefile
3
Makefile
@ -12,9 +12,12 @@ STATICFILES := $(wildcard static/*)
|
||||
TEMPLATES := $(wildcard templates/*)
|
||||
bindata.go: $(STATICFILES) $(TEMPLATES)
|
||||
go-bindata -tags '!debug' static/... templates/...
|
||||
go fmt
|
||||
|
||||
bindata-debug.go: $(STATICFILES) $(TEMPLATES)
|
||||
go-bindata -tags 'debug' -o bindata-debug.go -debug static/... templates/...
|
||||
go fmt
|
||||
|
||||
|
||||
.PHONY: devel
|
||||
devel: bindata-debug.go
|
||||
|
212
bindata-debug.go
212
bindata-debug.go
@ -3,6 +3,7 @@
|
||||
// static/.DS_Store
|
||||
// static/css/base-min.css
|
||||
// static/css/default.css
|
||||
// static/css/dropzone.css
|
||||
// static/css/github-markdown.css
|
||||
// static/css/highlight.css
|
||||
// static/css/menus-min.css
|
||||
@ -35,6 +36,7 @@
|
||||
// static/img/cowyo/ms-icon-70x70.png
|
||||
// static/img/logo.png
|
||||
// static/js/cowyo.js
|
||||
// static/js/dropzone.js
|
||||
// static/js/highlight.min.js
|
||||
// static/js/highlight.pack.js
|
||||
// static/js/jquery-1.8.3.js
|
||||
@ -128,6 +130,24 @@ func staticCssDefaultCss() (*asset, error) {
|
||||
return a, err
|
||||
}
|
||||
|
||||
// staticCssDropzoneCss reads file data from disk. It returns an error on failure.
|
||||
func staticCssDropzoneCss() (*asset, error) {
|
||||
path := "/Volumes/Code/go/src/github.com/danielheath/cowyo/static/css/dropzone.css"
|
||||
name := "static/css/dropzone.css"
|
||||
bytes, err := bindataRead(path, name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
fi, err := os.Stat(path)
|
||||
if err != nil {
|
||||
err = fmt.Errorf("Error reading asset info %s at %s: %v", name, path, err)
|
||||
}
|
||||
|
||||
a := &asset{bytes: bytes, info: fi}
|
||||
return a, err
|
||||
}
|
||||
|
||||
// staticCssGithubMarkdownCss reads file data from disk. It returns an error on failure.
|
||||
func staticCssGithubMarkdownCss() (*asset, error) {
|
||||
path := "/Volumes/Code/go/src/github.com/danielheath/cowyo/static/css/github-markdown.css"
|
||||
@ -704,6 +724,24 @@ func staticJsCowyoJs() (*asset, error) {
|
||||
return a, err
|
||||
}
|
||||
|
||||
// staticJsDropzoneJs reads file data from disk. It returns an error on failure.
|
||||
func staticJsDropzoneJs() (*asset, error) {
|
||||
path := "/Volumes/Code/go/src/github.com/danielheath/cowyo/static/js/dropzone.js"
|
||||
name := "static/js/dropzone.js"
|
||||
bytes, err := bindataRead(path, name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
fi, err := os.Stat(path)
|
||||
if err != nil {
|
||||
err = fmt.Errorf("Error reading asset info %s at %s: %v", name, path, err)
|
||||
}
|
||||
|
||||
a := &asset{bytes: bytes, info: fi}
|
||||
return a, err
|
||||
}
|
||||
|
||||
// staticJsHighlightMinJs reads file data from disk. It returns an error on failure.
|
||||
func staticJsHighlightMinJs() (*asset, error) {
|
||||
path := "/Volumes/Code/go/src/github.com/danielheath/cowyo/static/js/highlight.min.js"
|
||||
@ -954,52 +992,54 @@ func AssetNames() []string {
|
||||
|
||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||
var _bindata = map[string]func() (*asset, error){
|
||||
"static/.DS_Store": staticDs_store,
|
||||
"static/css/base-min.css": staticCssBaseMinCss,
|
||||
"static/css/default.css": staticCssDefaultCss,
|
||||
"static/css/github-markdown.css": staticCssGithubMarkdownCss,
|
||||
"static/css/highlight.css": staticCssHighlightCss,
|
||||
"static/css/menus-min.css": staticCssMenusMinCss,
|
||||
"static/img/cowyo/android-icon-144x144.png": staticImgCowyoAndroidIcon144x144Png,
|
||||
"static/img/cowyo/android-icon-192x192.png": staticImgCowyoAndroidIcon192x192Png,
|
||||
"static/img/cowyo/android-icon-36x36.png": staticImgCowyoAndroidIcon36x36Png,
|
||||
"static/img/cowyo/android-icon-48x48.png": staticImgCowyoAndroidIcon48x48Png,
|
||||
"static/img/cowyo/android-icon-72x72.png": staticImgCowyoAndroidIcon72x72Png,
|
||||
"static/img/cowyo/android-icon-96x96.png": staticImgCowyoAndroidIcon96x96Png,
|
||||
"static/img/cowyo/apple-icon-114x114.png": staticImgCowyoAppleIcon114x114Png,
|
||||
"static/img/cowyo/apple-icon-120x120.png": staticImgCowyoAppleIcon120x120Png,
|
||||
"static/img/cowyo/apple-icon-144x144.png": staticImgCowyoAppleIcon144x144Png,
|
||||
"static/img/cowyo/apple-icon-152x152.png": staticImgCowyoAppleIcon152x152Png,
|
||||
"static/img/cowyo/apple-icon-180x180.png": staticImgCowyoAppleIcon180x180Png,
|
||||
"static/img/cowyo/apple-icon-57x57.png": staticImgCowyoAppleIcon57x57Png,
|
||||
"static/img/cowyo/apple-icon-60x60.png": staticImgCowyoAppleIcon60x60Png,
|
||||
"static/img/cowyo/apple-icon-72x72.png": staticImgCowyoAppleIcon72x72Png,
|
||||
"static/img/cowyo/apple-icon-76x76.png": staticImgCowyoAppleIcon76x76Png,
|
||||
"static/.DS_Store": staticDs_store,
|
||||
"static/css/base-min.css": staticCssBaseMinCss,
|
||||
"static/css/default.css": staticCssDefaultCss,
|
||||
"static/css/dropzone.css": staticCssDropzoneCss,
|
||||
"static/css/github-markdown.css": staticCssGithubMarkdownCss,
|
||||
"static/css/highlight.css": staticCssHighlightCss,
|
||||
"static/css/menus-min.css": staticCssMenusMinCss,
|
||||
"static/img/cowyo/android-icon-144x144.png": staticImgCowyoAndroidIcon144x144Png,
|
||||
"static/img/cowyo/android-icon-192x192.png": staticImgCowyoAndroidIcon192x192Png,
|
||||
"static/img/cowyo/android-icon-36x36.png": staticImgCowyoAndroidIcon36x36Png,
|
||||
"static/img/cowyo/android-icon-48x48.png": staticImgCowyoAndroidIcon48x48Png,
|
||||
"static/img/cowyo/android-icon-72x72.png": staticImgCowyoAndroidIcon72x72Png,
|
||||
"static/img/cowyo/android-icon-96x96.png": staticImgCowyoAndroidIcon96x96Png,
|
||||
"static/img/cowyo/apple-icon-114x114.png": staticImgCowyoAppleIcon114x114Png,
|
||||
"static/img/cowyo/apple-icon-120x120.png": staticImgCowyoAppleIcon120x120Png,
|
||||
"static/img/cowyo/apple-icon-144x144.png": staticImgCowyoAppleIcon144x144Png,
|
||||
"static/img/cowyo/apple-icon-152x152.png": staticImgCowyoAppleIcon152x152Png,
|
||||
"static/img/cowyo/apple-icon-180x180.png": staticImgCowyoAppleIcon180x180Png,
|
||||
"static/img/cowyo/apple-icon-57x57.png": staticImgCowyoAppleIcon57x57Png,
|
||||
"static/img/cowyo/apple-icon-60x60.png": staticImgCowyoAppleIcon60x60Png,
|
||||
"static/img/cowyo/apple-icon-72x72.png": staticImgCowyoAppleIcon72x72Png,
|
||||
"static/img/cowyo/apple-icon-76x76.png": staticImgCowyoAppleIcon76x76Png,
|
||||
"static/img/cowyo/apple-icon-precomposed.png": staticImgCowyoAppleIconPrecomposedPng,
|
||||
"static/img/cowyo/apple-icon.png": staticImgCowyoAppleIconPng,
|
||||
"static/img/cowyo/browserconfig.xml": staticImgCowyoBrowserconfigXml,
|
||||
"static/img/cowyo/favicon-16x16.png": staticImgCowyoFavicon16x16Png,
|
||||
"static/img/cowyo/favicon-32x32.png": staticImgCowyoFavicon32x32Png,
|
||||
"static/img/cowyo/favicon-96x96.png": staticImgCowyoFavicon96x96Png,
|
||||
"static/img/cowyo/favicon.ico": staticImgCowyoFaviconIco,
|
||||
"static/img/cowyo/manifest.json": staticImgCowyoManifestJson,
|
||||
"static/img/cowyo/ms-icon-144x144.png": staticImgCowyoMsIcon144x144Png,
|
||||
"static/img/cowyo/ms-icon-150x150.png": staticImgCowyoMsIcon150x150Png,
|
||||
"static/img/cowyo/ms-icon-310x310.png": staticImgCowyoMsIcon310x310Png,
|
||||
"static/img/cowyo/ms-icon-70x70.png": staticImgCowyoMsIcon70x70Png,
|
||||
"static/img/logo.png": staticImgLogoPng,
|
||||
"static/js/cowyo.js": staticJsCowyoJs,
|
||||
"static/js/highlight.min.js": staticJsHighlightMinJs,
|
||||
"static/js/highlight.pack.js": staticJsHighlightPackJs,
|
||||
"static/js/jquery-1.8.3.js": staticJsJquery183Js,
|
||||
"static/text/adjectives": staticTextAdjectives,
|
||||
"static/text/adjectives.old": staticTextAdjectivesOld,
|
||||
"static/text/animals": staticTextAnimals,
|
||||
"static/text/animals.all": staticTextAnimalsAll,
|
||||
"static/text/howmany.py": staticTextHowmanyPy,
|
||||
"static/text/robots.txt": staticTextRobotsTxt,
|
||||
"static/text/sitemap.xml": staticTextSitemapXml,
|
||||
"templates/index.tmpl": templatesIndexTmpl,
|
||||
"static/img/cowyo/apple-icon.png": staticImgCowyoAppleIconPng,
|
||||
"static/img/cowyo/browserconfig.xml": staticImgCowyoBrowserconfigXml,
|
||||
"static/img/cowyo/favicon-16x16.png": staticImgCowyoFavicon16x16Png,
|
||||
"static/img/cowyo/favicon-32x32.png": staticImgCowyoFavicon32x32Png,
|
||||
"static/img/cowyo/favicon-96x96.png": staticImgCowyoFavicon96x96Png,
|
||||
"static/img/cowyo/favicon.ico": staticImgCowyoFaviconIco,
|
||||
"static/img/cowyo/manifest.json": staticImgCowyoManifestJson,
|
||||
"static/img/cowyo/ms-icon-144x144.png": staticImgCowyoMsIcon144x144Png,
|
||||
"static/img/cowyo/ms-icon-150x150.png": staticImgCowyoMsIcon150x150Png,
|
||||
"static/img/cowyo/ms-icon-310x310.png": staticImgCowyoMsIcon310x310Png,
|
||||
"static/img/cowyo/ms-icon-70x70.png": staticImgCowyoMsIcon70x70Png,
|
||||
"static/img/logo.png": staticImgLogoPng,
|
||||
"static/js/cowyo.js": staticJsCowyoJs,
|
||||
"static/js/dropzone.js": staticJsDropzoneJs,
|
||||
"static/js/highlight.min.js": staticJsHighlightMinJs,
|
||||
"static/js/highlight.pack.js": staticJsHighlightPackJs,
|
||||
"static/js/jquery-1.8.3.js": staticJsJquery183Js,
|
||||
"static/text/adjectives": staticTextAdjectives,
|
||||
"static/text/adjectives.old": staticTextAdjectivesOld,
|
||||
"static/text/animals": staticTextAnimals,
|
||||
"static/text/animals.all": staticTextAnimalsAll,
|
||||
"static/text/howmany.py": staticTextHowmanyPy,
|
||||
"static/text/robots.txt": staticTextRobotsTxt,
|
||||
"static/text/sitemap.xml": staticTextSitemapXml,
|
||||
"templates/index.tmpl": templatesIndexTmpl,
|
||||
}
|
||||
|
||||
// AssetDir returns the file names below a certain
|
||||
@ -1041,62 +1081,65 @@ type bintree struct {
|
||||
Func func() (*asset, error)
|
||||
Children map[string]*bintree
|
||||
}
|
||||
|
||||
var _bintree = &bintree{nil, map[string]*bintree{
|
||||
"static": &bintree{nil, map[string]*bintree{
|
||||
".DS_Store": &bintree{staticDs_store, map[string]*bintree{}},
|
||||
"css": &bintree{nil, map[string]*bintree{
|
||||
"base-min.css": &bintree{staticCssBaseMinCss, map[string]*bintree{}},
|
||||
"default.css": &bintree{staticCssDefaultCss, map[string]*bintree{}},
|
||||
"base-min.css": &bintree{staticCssBaseMinCss, map[string]*bintree{}},
|
||||
"default.css": &bintree{staticCssDefaultCss, map[string]*bintree{}},
|
||||
"dropzone.css": &bintree{staticCssDropzoneCss, map[string]*bintree{}},
|
||||
"github-markdown.css": &bintree{staticCssGithubMarkdownCss, map[string]*bintree{}},
|
||||
"highlight.css": &bintree{staticCssHighlightCss, map[string]*bintree{}},
|
||||
"menus-min.css": &bintree{staticCssMenusMinCss, map[string]*bintree{}},
|
||||
"highlight.css": &bintree{staticCssHighlightCss, map[string]*bintree{}},
|
||||
"menus-min.css": &bintree{staticCssMenusMinCss, map[string]*bintree{}},
|
||||
}},
|
||||
"img": &bintree{nil, map[string]*bintree{
|
||||
"cowyo": &bintree{nil, map[string]*bintree{
|
||||
"android-icon-144x144.png": &bintree{staticImgCowyoAndroidIcon144x144Png, map[string]*bintree{}},
|
||||
"android-icon-192x192.png": &bintree{staticImgCowyoAndroidIcon192x192Png, map[string]*bintree{}},
|
||||
"android-icon-36x36.png": &bintree{staticImgCowyoAndroidIcon36x36Png, map[string]*bintree{}},
|
||||
"android-icon-48x48.png": &bintree{staticImgCowyoAndroidIcon48x48Png, map[string]*bintree{}},
|
||||
"android-icon-72x72.png": &bintree{staticImgCowyoAndroidIcon72x72Png, map[string]*bintree{}},
|
||||
"android-icon-96x96.png": &bintree{staticImgCowyoAndroidIcon96x96Png, map[string]*bintree{}},
|
||||
"apple-icon-114x114.png": &bintree{staticImgCowyoAppleIcon114x114Png, map[string]*bintree{}},
|
||||
"apple-icon-120x120.png": &bintree{staticImgCowyoAppleIcon120x120Png, map[string]*bintree{}},
|
||||
"apple-icon-144x144.png": &bintree{staticImgCowyoAppleIcon144x144Png, map[string]*bintree{}},
|
||||
"apple-icon-152x152.png": &bintree{staticImgCowyoAppleIcon152x152Png, map[string]*bintree{}},
|
||||
"apple-icon-180x180.png": &bintree{staticImgCowyoAppleIcon180x180Png, map[string]*bintree{}},
|
||||
"apple-icon-57x57.png": &bintree{staticImgCowyoAppleIcon57x57Png, map[string]*bintree{}},
|
||||
"apple-icon-60x60.png": &bintree{staticImgCowyoAppleIcon60x60Png, map[string]*bintree{}},
|
||||
"apple-icon-72x72.png": &bintree{staticImgCowyoAppleIcon72x72Png, map[string]*bintree{}},
|
||||
"apple-icon-76x76.png": &bintree{staticImgCowyoAppleIcon76x76Png, map[string]*bintree{}},
|
||||
"android-icon-144x144.png": &bintree{staticImgCowyoAndroidIcon144x144Png, map[string]*bintree{}},
|
||||
"android-icon-192x192.png": &bintree{staticImgCowyoAndroidIcon192x192Png, map[string]*bintree{}},
|
||||
"android-icon-36x36.png": &bintree{staticImgCowyoAndroidIcon36x36Png, map[string]*bintree{}},
|
||||
"android-icon-48x48.png": &bintree{staticImgCowyoAndroidIcon48x48Png, map[string]*bintree{}},
|
||||
"android-icon-72x72.png": &bintree{staticImgCowyoAndroidIcon72x72Png, map[string]*bintree{}},
|
||||
"android-icon-96x96.png": &bintree{staticImgCowyoAndroidIcon96x96Png, map[string]*bintree{}},
|
||||
"apple-icon-114x114.png": &bintree{staticImgCowyoAppleIcon114x114Png, map[string]*bintree{}},
|
||||
"apple-icon-120x120.png": &bintree{staticImgCowyoAppleIcon120x120Png, map[string]*bintree{}},
|
||||
"apple-icon-144x144.png": &bintree{staticImgCowyoAppleIcon144x144Png, map[string]*bintree{}},
|
||||
"apple-icon-152x152.png": &bintree{staticImgCowyoAppleIcon152x152Png, map[string]*bintree{}},
|
||||
"apple-icon-180x180.png": &bintree{staticImgCowyoAppleIcon180x180Png, map[string]*bintree{}},
|
||||
"apple-icon-57x57.png": &bintree{staticImgCowyoAppleIcon57x57Png, map[string]*bintree{}},
|
||||
"apple-icon-60x60.png": &bintree{staticImgCowyoAppleIcon60x60Png, map[string]*bintree{}},
|
||||
"apple-icon-72x72.png": &bintree{staticImgCowyoAppleIcon72x72Png, map[string]*bintree{}},
|
||||
"apple-icon-76x76.png": &bintree{staticImgCowyoAppleIcon76x76Png, map[string]*bintree{}},
|
||||
"apple-icon-precomposed.png": &bintree{staticImgCowyoAppleIconPrecomposedPng, map[string]*bintree{}},
|
||||
"apple-icon.png": &bintree{staticImgCowyoAppleIconPng, map[string]*bintree{}},
|
||||
"browserconfig.xml": &bintree{staticImgCowyoBrowserconfigXml, map[string]*bintree{}},
|
||||
"favicon-16x16.png": &bintree{staticImgCowyoFavicon16x16Png, map[string]*bintree{}},
|
||||
"favicon-32x32.png": &bintree{staticImgCowyoFavicon32x32Png, map[string]*bintree{}},
|
||||
"favicon-96x96.png": &bintree{staticImgCowyoFavicon96x96Png, map[string]*bintree{}},
|
||||
"favicon.ico": &bintree{staticImgCowyoFaviconIco, map[string]*bintree{}},
|
||||
"manifest.json": &bintree{staticImgCowyoManifestJson, map[string]*bintree{}},
|
||||
"ms-icon-144x144.png": &bintree{staticImgCowyoMsIcon144x144Png, map[string]*bintree{}},
|
||||
"ms-icon-150x150.png": &bintree{staticImgCowyoMsIcon150x150Png, map[string]*bintree{}},
|
||||
"ms-icon-310x310.png": &bintree{staticImgCowyoMsIcon310x310Png, map[string]*bintree{}},
|
||||
"ms-icon-70x70.png": &bintree{staticImgCowyoMsIcon70x70Png, map[string]*bintree{}},
|
||||
"apple-icon.png": &bintree{staticImgCowyoAppleIconPng, map[string]*bintree{}},
|
||||
"browserconfig.xml": &bintree{staticImgCowyoBrowserconfigXml, map[string]*bintree{}},
|
||||
"favicon-16x16.png": &bintree{staticImgCowyoFavicon16x16Png, map[string]*bintree{}},
|
||||
"favicon-32x32.png": &bintree{staticImgCowyoFavicon32x32Png, map[string]*bintree{}},
|
||||
"favicon-96x96.png": &bintree{staticImgCowyoFavicon96x96Png, map[string]*bintree{}},
|
||||
"favicon.ico": &bintree{staticImgCowyoFaviconIco, map[string]*bintree{}},
|
||||
"manifest.json": &bintree{staticImgCowyoManifestJson, map[string]*bintree{}},
|
||||
"ms-icon-144x144.png": &bintree{staticImgCowyoMsIcon144x144Png, map[string]*bintree{}},
|
||||
"ms-icon-150x150.png": &bintree{staticImgCowyoMsIcon150x150Png, map[string]*bintree{}},
|
||||
"ms-icon-310x310.png": &bintree{staticImgCowyoMsIcon310x310Png, map[string]*bintree{}},
|
||||
"ms-icon-70x70.png": &bintree{staticImgCowyoMsIcon70x70Png, map[string]*bintree{}},
|
||||
}},
|
||||
"logo.png": &bintree{staticImgLogoPng, map[string]*bintree{}},
|
||||
}},
|
||||
"js": &bintree{nil, map[string]*bintree{
|
||||
"cowyo.js": &bintree{staticJsCowyoJs, map[string]*bintree{}},
|
||||
"highlight.min.js": &bintree{staticJsHighlightMinJs, map[string]*bintree{}},
|
||||
"cowyo.js": &bintree{staticJsCowyoJs, map[string]*bintree{}},
|
||||
"dropzone.js": &bintree{staticJsDropzoneJs, map[string]*bintree{}},
|
||||
"highlight.min.js": &bintree{staticJsHighlightMinJs, map[string]*bintree{}},
|
||||
"highlight.pack.js": &bintree{staticJsHighlightPackJs, map[string]*bintree{}},
|
||||
"jquery-1.8.3.js": &bintree{staticJsJquery183Js, map[string]*bintree{}},
|
||||
"jquery-1.8.3.js": &bintree{staticJsJquery183Js, map[string]*bintree{}},
|
||||
}},
|
||||
"text": &bintree{nil, map[string]*bintree{
|
||||
"adjectives": &bintree{staticTextAdjectives, map[string]*bintree{}},
|
||||
"adjectives": &bintree{staticTextAdjectives, map[string]*bintree{}},
|
||||
"adjectives.old": &bintree{staticTextAdjectivesOld, map[string]*bintree{}},
|
||||
"animals": &bintree{staticTextAnimals, map[string]*bintree{}},
|
||||
"animals.all": &bintree{staticTextAnimalsAll, map[string]*bintree{}},
|
||||
"howmany.py": &bintree{staticTextHowmanyPy, map[string]*bintree{}},
|
||||
"robots.txt": &bintree{staticTextRobotsTxt, map[string]*bintree{}},
|
||||
"sitemap.xml": &bintree{staticTextSitemapXml, map[string]*bintree{}},
|
||||
"animals": &bintree{staticTextAnimals, map[string]*bintree{}},
|
||||
"animals.all": &bintree{staticTextAnimalsAll, map[string]*bintree{}},
|
||||
"howmany.py": &bintree{staticTextHowmanyPy, map[string]*bintree{}},
|
||||
"robots.txt": &bintree{staticTextRobotsTxt, map[string]*bintree{}},
|
||||
"sitemap.xml": &bintree{staticTextSitemapXml, map[string]*bintree{}},
|
||||
}},
|
||||
}},
|
||||
"templates": &bintree{nil, map[string]*bintree{
|
||||
@ -1150,4 +1193,3 @@ func _filePath(dir, name string) string {
|
||||
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
||||
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
|
||||
}
|
||||
|
||||
|
186
bindata.go
186
bindata.go
@ -192,7 +192,7 @@ func staticCssDropzoneCss() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "static/css/dropzone.css", size: 12587, mode: os.FileMode(420), modTime: time.Unix(1519120693, 0)}
|
||||
info := bindataFileInfo{name: "static/css/dropzone.css", size: 12587, mode: os.FileMode(420), modTime: time.Unix(1519120942, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
@ -832,7 +832,7 @@ func staticJsCowyoJs() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "static/js/cowyo.js", size: 13535, mode: os.FileMode(420), modTime: time.Unix(1519120693, 0)}
|
||||
info := bindataFileInfo{name: "static/js/cowyo.js", size: 13535, mode: os.FileMode(420), modTime: time.Unix(1519120942, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
@ -852,7 +852,7 @@ func staticJsDropzoneJs() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "static/js/dropzone.js", size: 120533, mode: os.FileMode(420), modTime: time.Unix(1519120693, 0)}
|
||||
info := bindataFileInfo{name: "static/js/dropzone.js", size: 120533, mode: os.FileMode(420), modTime: time.Unix(1519120942, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
@ -1072,7 +1072,7 @@ func templatesIndexTmpl() (*asset, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
info := bindataFileInfo{name: "templates/index.tmpl", size: 12961, mode: os.FileMode(493), modTime: time.Unix(1519120693, 0)}
|
||||
info := bindataFileInfo{name: "templates/index.tmpl", size: 12961, mode: os.FileMode(493), modTime: time.Unix(1519120942, 0)}
|
||||
a := &asset{bytes: bytes, info: info}
|
||||
return a, nil
|
||||
}
|
||||
@ -1129,54 +1129,54 @@ func AssetNames() []string {
|
||||
|
||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||
var _bindata = map[string]func() (*asset, error){
|
||||
"static/.DS_Store": staticDs_store,
|
||||
"static/css/base-min.css": staticCssBaseMinCss,
|
||||
"static/css/default.css": staticCssDefaultCss,
|
||||
"static/css/dropzone.css": staticCssDropzoneCss,
|
||||
"static/css/github-markdown.css": staticCssGithubMarkdownCss,
|
||||
"static/css/highlight.css": staticCssHighlightCss,
|
||||
"static/css/menus-min.css": staticCssMenusMinCss,
|
||||
"static/img/cowyo/android-icon-144x144.png": staticImgCowyoAndroidIcon144x144Png,
|
||||
"static/img/cowyo/android-icon-192x192.png": staticImgCowyoAndroidIcon192x192Png,
|
||||
"static/img/cowyo/android-icon-36x36.png": staticImgCowyoAndroidIcon36x36Png,
|
||||
"static/img/cowyo/android-icon-48x48.png": staticImgCowyoAndroidIcon48x48Png,
|
||||
"static/img/cowyo/android-icon-72x72.png": staticImgCowyoAndroidIcon72x72Png,
|
||||
"static/img/cowyo/android-icon-96x96.png": staticImgCowyoAndroidIcon96x96Png,
|
||||
"static/img/cowyo/apple-icon-114x114.png": staticImgCowyoAppleIcon114x114Png,
|
||||
"static/img/cowyo/apple-icon-120x120.png": staticImgCowyoAppleIcon120x120Png,
|
||||
"static/img/cowyo/apple-icon-144x144.png": staticImgCowyoAppleIcon144x144Png,
|
||||
"static/img/cowyo/apple-icon-152x152.png": staticImgCowyoAppleIcon152x152Png,
|
||||
"static/img/cowyo/apple-icon-180x180.png": staticImgCowyoAppleIcon180x180Png,
|
||||
"static/img/cowyo/apple-icon-57x57.png": staticImgCowyoAppleIcon57x57Png,
|
||||
"static/img/cowyo/apple-icon-60x60.png": staticImgCowyoAppleIcon60x60Png,
|
||||
"static/img/cowyo/apple-icon-72x72.png": staticImgCowyoAppleIcon72x72Png,
|
||||
"static/img/cowyo/apple-icon-76x76.png": staticImgCowyoAppleIcon76x76Png,
|
||||
"static/.DS_Store": staticDs_store,
|
||||
"static/css/base-min.css": staticCssBaseMinCss,
|
||||
"static/css/default.css": staticCssDefaultCss,
|
||||
"static/css/dropzone.css": staticCssDropzoneCss,
|
||||
"static/css/github-markdown.css": staticCssGithubMarkdownCss,
|
||||
"static/css/highlight.css": staticCssHighlightCss,
|
||||
"static/css/menus-min.css": staticCssMenusMinCss,
|
||||
"static/img/cowyo/android-icon-144x144.png": staticImgCowyoAndroidIcon144x144Png,
|
||||
"static/img/cowyo/android-icon-192x192.png": staticImgCowyoAndroidIcon192x192Png,
|
||||
"static/img/cowyo/android-icon-36x36.png": staticImgCowyoAndroidIcon36x36Png,
|
||||
"static/img/cowyo/android-icon-48x48.png": staticImgCowyoAndroidIcon48x48Png,
|
||||
"static/img/cowyo/android-icon-72x72.png": staticImgCowyoAndroidIcon72x72Png,
|
||||
"static/img/cowyo/android-icon-96x96.png": staticImgCowyoAndroidIcon96x96Png,
|
||||
"static/img/cowyo/apple-icon-114x114.png": staticImgCowyoAppleIcon114x114Png,
|
||||
"static/img/cowyo/apple-icon-120x120.png": staticImgCowyoAppleIcon120x120Png,
|
||||
"static/img/cowyo/apple-icon-144x144.png": staticImgCowyoAppleIcon144x144Png,
|
||||
"static/img/cowyo/apple-icon-152x152.png": staticImgCowyoAppleIcon152x152Png,
|
||||
"static/img/cowyo/apple-icon-180x180.png": staticImgCowyoAppleIcon180x180Png,
|
||||
"static/img/cowyo/apple-icon-57x57.png": staticImgCowyoAppleIcon57x57Png,
|
||||
"static/img/cowyo/apple-icon-60x60.png": staticImgCowyoAppleIcon60x60Png,
|
||||
"static/img/cowyo/apple-icon-72x72.png": staticImgCowyoAppleIcon72x72Png,
|
||||
"static/img/cowyo/apple-icon-76x76.png": staticImgCowyoAppleIcon76x76Png,
|
||||
"static/img/cowyo/apple-icon-precomposed.png": staticImgCowyoAppleIconPrecomposedPng,
|
||||
"static/img/cowyo/apple-icon.png": staticImgCowyoAppleIconPng,
|
||||
"static/img/cowyo/browserconfig.xml": staticImgCowyoBrowserconfigXml,
|
||||
"static/img/cowyo/favicon-16x16.png": staticImgCowyoFavicon16x16Png,
|
||||
"static/img/cowyo/favicon-32x32.png": staticImgCowyoFavicon32x32Png,
|
||||
"static/img/cowyo/favicon-96x96.png": staticImgCowyoFavicon96x96Png,
|
||||
"static/img/cowyo/favicon.ico": staticImgCowyoFaviconIco,
|
||||
"static/img/cowyo/manifest.json": staticImgCowyoManifestJson,
|
||||
"static/img/cowyo/ms-icon-144x144.png": staticImgCowyoMsIcon144x144Png,
|
||||
"static/img/cowyo/ms-icon-150x150.png": staticImgCowyoMsIcon150x150Png,
|
||||
"static/img/cowyo/ms-icon-310x310.png": staticImgCowyoMsIcon310x310Png,
|
||||
"static/img/cowyo/ms-icon-70x70.png": staticImgCowyoMsIcon70x70Png,
|
||||
"static/img/logo.png": staticImgLogoPng,
|
||||
"static/js/cowyo.js": staticJsCowyoJs,
|
||||
"static/js/dropzone.js": staticJsDropzoneJs,
|
||||
"static/js/highlight.min.js": staticJsHighlightMinJs,
|
||||
"static/js/highlight.pack.js": staticJsHighlightPackJs,
|
||||
"static/js/jquery-1.8.3.js": staticJsJquery183Js,
|
||||
"static/text/adjectives": staticTextAdjectives,
|
||||
"static/text/adjectives.old": staticTextAdjectivesOld,
|
||||
"static/text/animals": staticTextAnimals,
|
||||
"static/text/animals.all": staticTextAnimalsAll,
|
||||
"static/text/howmany.py": staticTextHowmanyPy,
|
||||
"static/text/robots.txt": staticTextRobotsTxt,
|
||||
"static/text/sitemap.xml": staticTextSitemapXml,
|
||||
"templates/index.tmpl": templatesIndexTmpl,
|
||||
"static/img/cowyo/apple-icon.png": staticImgCowyoAppleIconPng,
|
||||
"static/img/cowyo/browserconfig.xml": staticImgCowyoBrowserconfigXml,
|
||||
"static/img/cowyo/favicon-16x16.png": staticImgCowyoFavicon16x16Png,
|
||||
"static/img/cowyo/favicon-32x32.png": staticImgCowyoFavicon32x32Png,
|
||||
"static/img/cowyo/favicon-96x96.png": staticImgCowyoFavicon96x96Png,
|
||||
"static/img/cowyo/favicon.ico": staticImgCowyoFaviconIco,
|
||||
"static/img/cowyo/manifest.json": staticImgCowyoManifestJson,
|
||||
"static/img/cowyo/ms-icon-144x144.png": staticImgCowyoMsIcon144x144Png,
|
||||
"static/img/cowyo/ms-icon-150x150.png": staticImgCowyoMsIcon150x150Png,
|
||||
"static/img/cowyo/ms-icon-310x310.png": staticImgCowyoMsIcon310x310Png,
|
||||
"static/img/cowyo/ms-icon-70x70.png": staticImgCowyoMsIcon70x70Png,
|
||||
"static/img/logo.png": staticImgLogoPng,
|
||||
"static/js/cowyo.js": staticJsCowyoJs,
|
||||
"static/js/dropzone.js": staticJsDropzoneJs,
|
||||
"static/js/highlight.min.js": staticJsHighlightMinJs,
|
||||
"static/js/highlight.pack.js": staticJsHighlightPackJs,
|
||||
"static/js/jquery-1.8.3.js": staticJsJquery183Js,
|
||||
"static/text/adjectives": staticTextAdjectives,
|
||||
"static/text/adjectives.old": staticTextAdjectivesOld,
|
||||
"static/text/animals": staticTextAnimals,
|
||||
"static/text/animals.all": staticTextAnimalsAll,
|
||||
"static/text/howmany.py": staticTextHowmanyPy,
|
||||
"static/text/robots.txt": staticTextRobotsTxt,
|
||||
"static/text/sitemap.xml": staticTextSitemapXml,
|
||||
"templates/index.tmpl": templatesIndexTmpl,
|
||||
}
|
||||
|
||||
// AssetDir returns the file names below a certain
|
||||
@ -1218,64 +1218,65 @@ type bintree struct {
|
||||
Func func() (*asset, error)
|
||||
Children map[string]*bintree
|
||||
}
|
||||
|
||||
var _bintree = &bintree{nil, map[string]*bintree{
|
||||
"static": &bintree{nil, map[string]*bintree{
|
||||
".DS_Store": &bintree{staticDs_store, map[string]*bintree{}},
|
||||
"css": &bintree{nil, map[string]*bintree{
|
||||
"base-min.css": &bintree{staticCssBaseMinCss, map[string]*bintree{}},
|
||||
"default.css": &bintree{staticCssDefaultCss, map[string]*bintree{}},
|
||||
"dropzone.css": &bintree{staticCssDropzoneCss, map[string]*bintree{}},
|
||||
"base-min.css": &bintree{staticCssBaseMinCss, map[string]*bintree{}},
|
||||
"default.css": &bintree{staticCssDefaultCss, map[string]*bintree{}},
|
||||
"dropzone.css": &bintree{staticCssDropzoneCss, map[string]*bintree{}},
|
||||
"github-markdown.css": &bintree{staticCssGithubMarkdownCss, map[string]*bintree{}},
|
||||
"highlight.css": &bintree{staticCssHighlightCss, map[string]*bintree{}},
|
||||
"menus-min.css": &bintree{staticCssMenusMinCss, map[string]*bintree{}},
|
||||
"highlight.css": &bintree{staticCssHighlightCss, map[string]*bintree{}},
|
||||
"menus-min.css": &bintree{staticCssMenusMinCss, map[string]*bintree{}},
|
||||
}},
|
||||
"img": &bintree{nil, map[string]*bintree{
|
||||
"cowyo": &bintree{nil, map[string]*bintree{
|
||||
"android-icon-144x144.png": &bintree{staticImgCowyoAndroidIcon144x144Png, map[string]*bintree{}},
|
||||
"android-icon-192x192.png": &bintree{staticImgCowyoAndroidIcon192x192Png, map[string]*bintree{}},
|
||||
"android-icon-36x36.png": &bintree{staticImgCowyoAndroidIcon36x36Png, map[string]*bintree{}},
|
||||
"android-icon-48x48.png": &bintree{staticImgCowyoAndroidIcon48x48Png, map[string]*bintree{}},
|
||||
"android-icon-72x72.png": &bintree{staticImgCowyoAndroidIcon72x72Png, map[string]*bintree{}},
|
||||
"android-icon-96x96.png": &bintree{staticImgCowyoAndroidIcon96x96Png, map[string]*bintree{}},
|
||||
"apple-icon-114x114.png": &bintree{staticImgCowyoAppleIcon114x114Png, map[string]*bintree{}},
|
||||
"apple-icon-120x120.png": &bintree{staticImgCowyoAppleIcon120x120Png, map[string]*bintree{}},
|
||||
"apple-icon-144x144.png": &bintree{staticImgCowyoAppleIcon144x144Png, map[string]*bintree{}},
|
||||
"apple-icon-152x152.png": &bintree{staticImgCowyoAppleIcon152x152Png, map[string]*bintree{}},
|
||||
"apple-icon-180x180.png": &bintree{staticImgCowyoAppleIcon180x180Png, map[string]*bintree{}},
|
||||
"apple-icon-57x57.png": &bintree{staticImgCowyoAppleIcon57x57Png, map[string]*bintree{}},
|
||||
"apple-icon-60x60.png": &bintree{staticImgCowyoAppleIcon60x60Png, map[string]*bintree{}},
|
||||
"apple-icon-72x72.png": &bintree{staticImgCowyoAppleIcon72x72Png, map[string]*bintree{}},
|
||||
"apple-icon-76x76.png": &bintree{staticImgCowyoAppleIcon76x76Png, map[string]*bintree{}},
|
||||
"android-icon-144x144.png": &bintree{staticImgCowyoAndroidIcon144x144Png, map[string]*bintree{}},
|
||||
"android-icon-192x192.png": &bintree{staticImgCowyoAndroidIcon192x192Png, map[string]*bintree{}},
|
||||
"android-icon-36x36.png": &bintree{staticImgCowyoAndroidIcon36x36Png, map[string]*bintree{}},
|
||||
"android-icon-48x48.png": &bintree{staticImgCowyoAndroidIcon48x48Png, map[string]*bintree{}},
|
||||
"android-icon-72x72.png": &bintree{staticImgCowyoAndroidIcon72x72Png, map[string]*bintree{}},
|
||||
"android-icon-96x96.png": &bintree{staticImgCowyoAndroidIcon96x96Png, map[string]*bintree{}},
|
||||
"apple-icon-114x114.png": &bintree{staticImgCowyoAppleIcon114x114Png, map[string]*bintree{}},
|
||||
"apple-icon-120x120.png": &bintree{staticImgCowyoAppleIcon120x120Png, map[string]*bintree{}},
|
||||
"apple-icon-144x144.png": &bintree{staticImgCowyoAppleIcon144x144Png, map[string]*bintree{}},
|
||||
"apple-icon-152x152.png": &bintree{staticImgCowyoAppleIcon152x152Png, map[string]*bintree{}},
|
||||
"apple-icon-180x180.png": &bintree{staticImgCowyoAppleIcon180x180Png, map[string]*bintree{}},
|
||||
"apple-icon-57x57.png": &bintree{staticImgCowyoAppleIcon57x57Png, map[string]*bintree{}},
|
||||
"apple-icon-60x60.png": &bintree{staticImgCowyoAppleIcon60x60Png, map[string]*bintree{}},
|
||||
"apple-icon-72x72.png": &bintree{staticImgCowyoAppleIcon72x72Png, map[string]*bintree{}},
|
||||
"apple-icon-76x76.png": &bintree{staticImgCowyoAppleIcon76x76Png, map[string]*bintree{}},
|
||||
"apple-icon-precomposed.png": &bintree{staticImgCowyoAppleIconPrecomposedPng, map[string]*bintree{}},
|
||||
"apple-icon.png": &bintree{staticImgCowyoAppleIconPng, map[string]*bintree{}},
|
||||
"browserconfig.xml": &bintree{staticImgCowyoBrowserconfigXml, map[string]*bintree{}},
|
||||
"favicon-16x16.png": &bintree{staticImgCowyoFavicon16x16Png, map[string]*bintree{}},
|
||||
"favicon-32x32.png": &bintree{staticImgCowyoFavicon32x32Png, map[string]*bintree{}},
|
||||
"favicon-96x96.png": &bintree{staticImgCowyoFavicon96x96Png, map[string]*bintree{}},
|
||||
"favicon.ico": &bintree{staticImgCowyoFaviconIco, map[string]*bintree{}},
|
||||
"manifest.json": &bintree{staticImgCowyoManifestJson, map[string]*bintree{}},
|
||||
"ms-icon-144x144.png": &bintree{staticImgCowyoMsIcon144x144Png, map[string]*bintree{}},
|
||||
"ms-icon-150x150.png": &bintree{staticImgCowyoMsIcon150x150Png, map[string]*bintree{}},
|
||||
"ms-icon-310x310.png": &bintree{staticImgCowyoMsIcon310x310Png, map[string]*bintree{}},
|
||||
"ms-icon-70x70.png": &bintree{staticImgCowyoMsIcon70x70Png, map[string]*bintree{}},
|
||||
"apple-icon.png": &bintree{staticImgCowyoAppleIconPng, map[string]*bintree{}},
|
||||
"browserconfig.xml": &bintree{staticImgCowyoBrowserconfigXml, map[string]*bintree{}},
|
||||
"favicon-16x16.png": &bintree{staticImgCowyoFavicon16x16Png, map[string]*bintree{}},
|
||||
"favicon-32x32.png": &bintree{staticImgCowyoFavicon32x32Png, map[string]*bintree{}},
|
||||
"favicon-96x96.png": &bintree{staticImgCowyoFavicon96x96Png, map[string]*bintree{}},
|
||||
"favicon.ico": &bintree{staticImgCowyoFaviconIco, map[string]*bintree{}},
|
||||
"manifest.json": &bintree{staticImgCowyoManifestJson, map[string]*bintree{}},
|
||||
"ms-icon-144x144.png": &bintree{staticImgCowyoMsIcon144x144Png, map[string]*bintree{}},
|
||||
"ms-icon-150x150.png": &bintree{staticImgCowyoMsIcon150x150Png, map[string]*bintree{}},
|
||||
"ms-icon-310x310.png": &bintree{staticImgCowyoMsIcon310x310Png, map[string]*bintree{}},
|
||||
"ms-icon-70x70.png": &bintree{staticImgCowyoMsIcon70x70Png, map[string]*bintree{}},
|
||||
}},
|
||||
"logo.png": &bintree{staticImgLogoPng, map[string]*bintree{}},
|
||||
}},
|
||||
"js": &bintree{nil, map[string]*bintree{
|
||||
"cowyo.js": &bintree{staticJsCowyoJs, map[string]*bintree{}},
|
||||
"dropzone.js": &bintree{staticJsDropzoneJs, map[string]*bintree{}},
|
||||
"highlight.min.js": &bintree{staticJsHighlightMinJs, map[string]*bintree{}},
|
||||
"cowyo.js": &bintree{staticJsCowyoJs, map[string]*bintree{}},
|
||||
"dropzone.js": &bintree{staticJsDropzoneJs, map[string]*bintree{}},
|
||||
"highlight.min.js": &bintree{staticJsHighlightMinJs, map[string]*bintree{}},
|
||||
"highlight.pack.js": &bintree{staticJsHighlightPackJs, map[string]*bintree{}},
|
||||
"jquery-1.8.3.js": &bintree{staticJsJquery183Js, map[string]*bintree{}},
|
||||
"jquery-1.8.3.js": &bintree{staticJsJquery183Js, map[string]*bintree{}},
|
||||
}},
|
||||
"text": &bintree{nil, map[string]*bintree{
|
||||
"adjectives": &bintree{staticTextAdjectives, map[string]*bintree{}},
|
||||
"adjectives": &bintree{staticTextAdjectives, map[string]*bintree{}},
|
||||
"adjectives.old": &bintree{staticTextAdjectivesOld, map[string]*bintree{}},
|
||||
"animals": &bintree{staticTextAnimals, map[string]*bintree{}},
|
||||
"animals.all": &bintree{staticTextAnimalsAll, map[string]*bintree{}},
|
||||
"howmany.py": &bintree{staticTextHowmanyPy, map[string]*bintree{}},
|
||||
"robots.txt": &bintree{staticTextRobotsTxt, map[string]*bintree{}},
|
||||
"sitemap.xml": &bintree{staticTextSitemapXml, map[string]*bintree{}},
|
||||
"animals": &bintree{staticTextAnimals, map[string]*bintree{}},
|
||||
"animals.all": &bintree{staticTextAnimalsAll, map[string]*bintree{}},
|
||||
"howmany.py": &bintree{staticTextHowmanyPy, map[string]*bintree{}},
|
||||
"robots.txt": &bintree{staticTextRobotsTxt, map[string]*bintree{}},
|
||||
"sitemap.xml": &bintree{staticTextSitemapXml, map[string]*bintree{}},
|
||||
}},
|
||||
}},
|
||||
"templates": &bintree{nil, map[string]*bintree{
|
||||
@ -1329,4 +1330,3 @@ func _filePath(dir, name string) string {
|
||||
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
||||
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user