Nothing crazy, just ran gofmt -s -w .

Former-commit-id: 506f413a749421083d7dcdabf29ab18ba44f1a1d
This commit is contained in:
Gerasimos (Makis) Maropoulos 2017-10-13 07:05:32 +03:00
parent 21dc2cfbd8
commit 1816b22870

View File

@ -248,15 +248,16 @@ type bintree struct {
Func func() (*asset, error)
Children map[string]*bintree
}
var _bintree = &bintree{nil, map[string]*bintree{
"templates": &bintree{nil, map[string]*bintree{
"layouts": &bintree{nil, map[string]*bintree{
"layout.html": &bintree{templatesLayoutsLayoutHtml, map[string]*bintree{}},
"mylayout.html": &bintree{templatesLayoutsMylayoutHtml, map[string]*bintree{}},
"templates": {nil, map[string]*bintree{
"layouts": {nil, map[string]*bintree{
"layout.html": {templatesLayoutsLayoutHtml, map[string]*bintree{}},
"mylayout.html": {templatesLayoutsMylayoutHtml, map[string]*bintree{}},
}},
"page1.html": &bintree{templatesPage1Html, map[string]*bintree{}},
"partials": &bintree{nil, map[string]*bintree{
"page1_partial1.html": &bintree{templatesPartialsPage1_partial1Html, map[string]*bintree{}},
"page1.html": {templatesPage1Html, map[string]*bintree{}},
"partials": {nil, map[string]*bintree{
"page1_partial1.html": {templatesPartialsPage1_partial1Html, map[string]*bintree{}},
}},
}},
}}
@ -307,4 +308,3 @@ func _filePath(dir, name string) string {
cannonicalName := strings.Replace(name, "\\", "/", -1)
return filepath.Join(append([]string{dir}, strings.Split(cannonicalName, "/")...)...)
}