Add Substr and Split template functions
authorXin Fan <fredxinfan@gmail.com>
Fri, 20 Mar 2015 02:44:53 +0000 (13:44 +1100)
committerbep <bjorn.erik.pedersen@gmail.com>
Sun, 22 Mar 2015 12:24:47 +0000 (13:24 +0100)
commit04817c7b83e4b555ee22e21dadc0b8ddaf6423a0
treea9e0c6696ec988b28c8281718c83835e9074f3ed
parent9cc3d67c577377af1af1b9de594f99d9dabc05b3
Add Substr and Split template functions

Both of these can take any type the cast lib can turn into a string.
tpl/template.go
tpl/template_test.go