tpl: Make the Namespace func signature explicit
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 20 May 2017 08:28:33 +0000 (11:28 +0300)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 20 May 2017 08:34:38 +0000 (11:34 +0300)
commit1f9e8dcc6010abeea8abc7ba1a092c4dab9852f6
tree96f71adc6ae9a109817a30055476d1409d55b60b
parentebd636e4d5f475d4b5d9047580e61ff7c2bf2fb5
tpl: Make the Namespace func signature explicit

This makes it cleaner and avoids breaking client code, such as the docs helper JSON generator.
37 files changed:
tpl/cast/init.go
tpl/cast/init_test.go
tpl/collections/init.go
tpl/collections/init_test.go
tpl/compare/init.go
tpl/compare/init_test.go
tpl/crypto/init.go
tpl/crypto/init_test.go
tpl/data/init.go
tpl/data/init_test.go
tpl/encoding/init.go
tpl/encoding/init_test.go
tpl/fmt/init.go
tpl/fmt/init_test.go
tpl/images/init.go
tpl/images/init_test.go
tpl/inflect/init.go
tpl/inflect/init_test.go
tpl/internal/templatefuncsRegistry.go
tpl/lang/init.go
tpl/lang/init_test.go
tpl/math/init.go
tpl/math/init_test.go
tpl/os/init.go
tpl/os/init_test.go
tpl/partials/init.go
tpl/partials/init_test.go
tpl/safe/init.go
tpl/safe/init_test.go
tpl/strings/init.go
tpl/strings/init_test.go
tpl/time/init.go
tpl/time/init_test.go
tpl/transform/init.go
tpl/transform/init_test.go
tpl/urls/init.go
tpl/urls/init_test.go