diff options
Diffstat (limited to 'tpl/tplimpl/templateFuncster.go')
-rw-r--r-- | tpl/tplimpl/templateFuncster.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tpl/tplimpl/templateFuncster.go b/tpl/tplimpl/templateFuncster.go index c37d7f937..656cd89d3 100644 --- a/tpl/tplimpl/templateFuncster.go +++ b/tpl/tplimpl/templateFuncster.go @@ -25,16 +25,14 @@ import ( // Some of the template funcs are'nt entirely stateless. type templateFuncster struct { - funcMap template.FuncMap - cachedPartials partialCache + funcMap template.FuncMap *deps.Deps } func newTemplateFuncster(deps *deps.Deps) *templateFuncster { return &templateFuncster{ - Deps: deps, - cachedPartials: partialCache{p: make(map[string]interface{})}, + Deps: deps, } } |