aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/internal/templatefuncsRegistry.go
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/internal/templatefuncsRegistry.go')
-rw-r--r--tpl/internal/templatefuncsRegistry.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/tpl/internal/templatefuncsRegistry.go b/tpl/internal/templatefuncsRegistry.go
index 99877dcca..6d58d8d2b 100644
--- a/tpl/internal/templatefuncsRegistry.go
+++ b/tpl/internal/templatefuncsRegistry.go
@@ -83,7 +83,6 @@ func (t *TemplateFuncsNamespace) AddMethodMapping(m interface{}, aliases []strin
Aliases: aliases,
Examples: examples,
}
-
}
// TemplateFuncMethodMapping represents a mapping of functions to methods for a
@@ -165,7 +164,6 @@ func (namespaces TemplateFuncsNamespaces) MarshalJSON() ([]byte, error) {
}
func (t *TemplateFuncsNamespace) toJSON() ([]byte, error) {
-
var buf bytes.Buffer
godoc := getGetTplPackagesGoDoc()[t.Name]