gofmt generated file.
This commit is contained in:
parent
6d2f4a0813
commit
f5130db6b0
2 changed files with 20 additions and 19 deletions
|
@ -380,6 +380,7 @@ type bintree struct {
|
||||||
Func func() (*asset, error)
|
Func func() (*asset, error)
|
||||||
Children map[string]*bintree
|
Children map[string]*bintree
|
||||||
}
|
}
|
||||||
|
|
||||||
var _bintree = &bintree{nil, map[string]*bintree{
|
var _bintree = &bintree{nil, map[string]*bintree{
|
||||||
"templates": &bintree{nil, map[string]*bintree{
|
"templates": &bintree{nil, map[string]*bintree{
|
||||||
"consul_catalog.tmpl": &bintree{templatesConsul_catalogTmpl, map[string]*bintree{}},
|
"consul_catalog.tmpl": &bintree{templatesConsul_catalogTmpl, map[string]*bintree{}},
|
||||||
|
@ -441,4 +442,3 @@ func _filePath(dir, name string) string {
|
||||||
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
cannonicalName := strings.Replace(name, "\\", "/", -1)
|
||||||
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
|
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
//go:generate rm -vf autogen/genstatic/gen.go
|
//go:generate rm -vf autogen/genstatic/gen.go
|
||||||
//go:generate mkdir -p static
|
//go:generate mkdir -p static
|
||||||
//go:generate go-bindata -pkg gentemplates -modtime 1509884496 -mode 436 -o autogen/gentemplates/gen.go ./templates/...
|
//go:generate go-bindata -pkg gentemplates -modtime 1509884496 -mode 436 -o autogen/gentemplates/gen.go ./templates/...
|
||||||
|
//go:generate gofmt -w autogen/gentemplates/gen.go
|
||||||
//go:generate go-bindata -pkg genstatic -o autogen/genstatic/gen.go ./static/...
|
//go:generate go-bindata -pkg genstatic -o autogen/genstatic/gen.go ./static/...
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
Loading…
Reference in a new issue