summaryrefslogtreecommitdiffstats
path: root/tpl/internal
AgeCommit message (Collapse)Author
2018-11-09tpl: Fix test to pass with gccgoIan Lance Taylor
When run under gccgo, the test looks for the name that gccgo gives to a thunk method. This name is not normally visible, but can be seen when using reflect.FuncForPC as this code does. That name changed in https://golang.org/cl/89555. Change the test to work with both the old name "$thunk0" and the new name "thunk0". Fixes golang/go#28669
2018-09-07tpl: Fix golint godoc issuesCameron Moore
2017-08-07all: Fix spellingBjørn Erik Pedersen
And some other minor issues.
2017-07-28tpl: Accommodate gccgo in TestMethodToNameAnthony Fok
Fixes #3744
2017-06-13all: Update import paths to gohugoio/hugoBjørn Erik Pedersen
2017-05-20tpl: Make the Namespace func signature explicitBjørn Erik Pedersen
This makes it cleaner and avoids breaking client code, such as the docs helper JSON generator.
2017-05-04tpl: Add some GoDoc info to template func docsBjørn Erik Pedersen
Closes #3418
2017-05-01tpl: Add docshelper for template funcsBjørn Erik Pedersen
And fix some other minor related issues. Updates #3418
2017-05-01tpl: Add TemplateFuncsNamespaceRegistryBjørn Erik Pedersen
As a first step to remove the hard ties between `tplimpl` and the different namespace packages. The `lang` package is used as the first example use case. See #3042