We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LoadPageTpl
1 parent aaec23a commit 73087beCopy full SHA for 73087be
src/tpl/page.html.go
@@ -85,7 +85,7 @@ func init() {
85
}
86
87
88
-func LoadPage(tplPath string) (*template.Template, error) {
+func LoadPageTpl(tplPath string) (*template.Template, error) {
89
if len(tplPath) == 0 {
90
return defaultPageTpl, nil
91
src/vhostMux/main.go
@@ -43,7 +43,7 @@ func NewServeMux(
43
44
45
// template
46
- pageTpl, err := tpl.LoadPage(p.Template)
+ pageTpl, err := tpl.LoadPageTpl(p.Template)
47
errorHandler.LogError(err)
48
49
// register handlers
0 commit comments