gofmt generated file.
This commit is contained in:
parent
6d2f4a0813
commit
f5130db6b0
2 changed files with 20 additions and 19 deletions
|
@ -330,15 +330,15 @@ func AssetNames() []string {
|
||||||
// _bindata is a table, holding each asset generator, mapped to its name.
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
||||||
var _bindata = map[string]func() (*asset, error){
|
var _bindata = map[string]func() (*asset, error){
|
||||||
"templates/consul_catalog.tmpl": templatesConsul_catalogTmpl,
|
"templates/consul_catalog.tmpl": templatesConsul_catalogTmpl,
|
||||||
"templates/docker.tmpl": templatesDockerTmpl,
|
"templates/docker.tmpl": templatesDockerTmpl,
|
||||||
"templates/ecs.tmpl": templatesEcsTmpl,
|
"templates/ecs.tmpl": templatesEcsTmpl,
|
||||||
"templates/eureka.tmpl": templatesEurekaTmpl,
|
"templates/eureka.tmpl": templatesEurekaTmpl,
|
||||||
"templates/kubernetes.tmpl": templatesKubernetesTmpl,
|
"templates/kubernetes.tmpl": templatesKubernetesTmpl,
|
||||||
"templates/kv.tmpl": templatesKvTmpl,
|
"templates/kv.tmpl": templatesKvTmpl,
|
||||||
"templates/marathon.tmpl": templatesMarathonTmpl,
|
"templates/marathon.tmpl": templatesMarathonTmpl,
|
||||||
"templates/mesos.tmpl": templatesMesosTmpl,
|
"templates/mesos.tmpl": templatesMesosTmpl,
|
||||||
"templates/notFound.tmpl": templatesNotfoundTmpl,
|
"templates/notFound.tmpl": templatesNotfoundTmpl,
|
||||||
"templates/rancher.tmpl": templatesRancherTmpl,
|
"templates/rancher.tmpl": templatesRancherTmpl,
|
||||||
}
|
}
|
||||||
|
|
||||||
// AssetDir returns the file names below a certain
|
// AssetDir returns the file names below a certain
|
||||||
|
@ -380,18 +380,19 @@ 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{}},
|
||||||
"docker.tmpl": &bintree{templatesDockerTmpl, map[string]*bintree{}},
|
"docker.tmpl": &bintree{templatesDockerTmpl, map[string]*bintree{}},
|
||||||
"ecs.tmpl": &bintree{templatesEcsTmpl, map[string]*bintree{}},
|
"ecs.tmpl": &bintree{templatesEcsTmpl, map[string]*bintree{}},
|
||||||
"eureka.tmpl": &bintree{templatesEurekaTmpl, map[string]*bintree{}},
|
"eureka.tmpl": &bintree{templatesEurekaTmpl, map[string]*bintree{}},
|
||||||
"kubernetes.tmpl": &bintree{templatesKubernetesTmpl, map[string]*bintree{}},
|
"kubernetes.tmpl": &bintree{templatesKubernetesTmpl, map[string]*bintree{}},
|
||||||
"kv.tmpl": &bintree{templatesKvTmpl, map[string]*bintree{}},
|
"kv.tmpl": &bintree{templatesKvTmpl, map[string]*bintree{}},
|
||||||
"marathon.tmpl": &bintree{templatesMarathonTmpl, map[string]*bintree{}},
|
"marathon.tmpl": &bintree{templatesMarathonTmpl, map[string]*bintree{}},
|
||||||
"mesos.tmpl": &bintree{templatesMesosTmpl, map[string]*bintree{}},
|
"mesos.tmpl": &bintree{templatesMesosTmpl, map[string]*bintree{}},
|
||||||
"notFound.tmpl": &bintree{templatesNotfoundTmpl, map[string]*bintree{}},
|
"notFound.tmpl": &bintree{templatesNotfoundTmpl, map[string]*bintree{}},
|
||||||
"rancher.tmpl": &bintree{templatesRancherTmpl, map[string]*bintree{}},
|
"rancher.tmpl": &bintree{templatesRancherTmpl, 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