tpl: Add docshelper for template funcs
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 1 May 2017 16:40:34 +0000 (18:40 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 1 May 2017 19:44:15 +0000 (21:44 +0200)
commit690b0f8ff5795318dfa3834a5a75d6623e7d934a
tree1112306f4c6fecc0966d880dec702c3804633deb
parente2b067f0504ba41ef45786e2f83d7002bd13a7eb
tpl: Add docshelper for template funcs

And fix some other minor related issues.

Updates #3418
25 files changed:
docs/data/docs.json
tpl/cast/docshelper.go [new file with mode: 0644]
tpl/cast/init.go
tpl/collections/init.go
tpl/compare/init.go
tpl/crypto/init.go
tpl/data/init.go
tpl/encoding/init.go
tpl/fmt/fmt.go
tpl/fmt/init.go
tpl/images/init.go
tpl/inflect/init.go
tpl/internal/templatefuncRegistry_test.go [new file with mode: 0644]
tpl/internal/templatefuncsRegistry.go
tpl/lang/init.go
tpl/math/init.go
tpl/os/init.go
tpl/partials/init.go
tpl/safe/init.go
tpl/strings/init.go
tpl/time/init.go
tpl/tplimpl/template_funcs.go
tpl/tplimpl/template_funcs_test.go
tpl/transform/init.go
tpl/urls/init.go