diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-30 21:52:56 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-05-01 15:13:41 +0200 |
commit | 8a49c0b3b8b5a374a64b639f46806192cd663fc9 (patch) | |
tree | 540b8ae405e69829957f8cb75832d82977adca61 /tpl/template.go | |
parent | a3bf118eaa0796892047bb7456fe89824e423f27 (diff) |
tpl/collections: Make it a package that stands on its own
See #3042
Diffstat (limited to 'tpl/template.go')
-rw-r--r-- | tpl/template.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tpl/template.go b/tpl/template.go index 356d66f1e..9fbf6b7b8 100644 --- a/tpl/template.go +++ b/tpl/template.go @@ -96,6 +96,10 @@ func (t *TemplateAdapter) Tree() string { return s } +type TemplateFuncsGetter interface { + GetFuncs() map[string]interface{} +} + // TemplateTestMocker adds a way to override some template funcs during tests. // The interface is named so it's not used in regular application code. type TemplateTestMocker interface { |