From 8a49c0b3b8b5a374a64b639f46806192cd663fc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 30 Apr 2017 21:52:56 +0200 Subject: tpl/collections: Make it a package that stands on its own See #3042 --- tpl/template.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tpl/template.go') 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 { -- cgit v1.2.3