summaryrefslogtreecommitdiffstats
path: root/tpl/partials
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-05-01 15:57:52 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-05-01 15:57:52 +0200
commite2b067f0504ba41ef45786e2f83d7002bd13a7eb (patch)
treedf1b4cfb4d44583a39e61d8a5ef9f187fcb8a71e /tpl/partials
parent0e2260421e40c97d9d210724fb44cfdc15ea7855 (diff)
tpl/partials: Remouve unused method
Diffstat (limited to 'tpl/partials')
-rw-r--r--tpl/partials/partials.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/tpl/partials/partials.go b/tpl/partials/partials.go
index a57edcaec..fa4fa4e06 100644
--- a/tpl/partials/partials.go
+++ b/tpl/partials/partials.go
@@ -46,10 +46,6 @@ type Namespace struct {
cachedPartials partialCache
}
-func (ns *Namespace) Foo(i interface{}) {
-
-}
-
// Include executes the named partial and returns either a string,
// when the partial is a text/template, or template.HTML when html/template.
func (ns *Namespace) Include(name string, contextList ...interface{}) (interface{}, error) {