Refactor tpl codes
authorTatsushi Demachi <tdemachi@gmail.com>
Mon, 29 Dec 2014 05:41:59 +0000 (14:41 +0900)
committerbep <bjorn.erik.pedersen@gmail.com>
Mon, 29 Dec 2014 14:47:50 +0000 (15:47 +0100)
commit975f4cf126fa757511a89246cfc14bbf7481b112
treea44ea165cff1a00fb955c9433cfb4a9b38d9a084
parentfa8ac87d5edfe3435e21579d19e86bba3be2089c
Refactor tpl codes

- Use indirect function instead of the same code copies
- Fix missing arguments of some test codes
tpl/template.go
tpl/template_test.go