tpl: Cleanup strings.TrimPrefix and TrimSuffix
authorCameron Moore <moorereason@gmail.com>
Mon, 14 Aug 2017 23:30:04 +0000 (18:30 -0500)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 18 Aug 2017 12:21:58 +0000 (14:21 +0200)
commit29a2da0593b081cdd61b93c6328af2c9ea4eb20f
tree1056d419ff8b9afebb48b7b4eae45114838998a1
parent7674ad73825c61eecc4003475fe0577f225fe579
tpl: Cleanup strings.TrimPrefix and TrimSuffix

These funcs were added during the move to namespaces but were
undocumented.  This commit fixes the order of the arguments and adds the
funcs to the method mapping.
tpl/strings/init.go
tpl/strings/strings.go
tpl/strings/strings_test.go