Golang Template_template.must 返回值-CSDN博客

网站介绍:文章浏览阅读1.1k次。转载:http://www.jianshu.com/p/bee02c18b221最近刚好有个task是要用Golang把Junit的XML格式report转换成HTML格式,便学习了Golang的template包。基于template做的那个tool transforming Junit XML report to HTML.Golang提供了对模板的支持(按_template.must 返回值