Go template 语法简介

使用kubernetes helm部署服务,遇到template文件定义需要使用“或”的场景,查到原来helm template使用的是go template的语法,网上找了很多go template的介绍文档,有一篇特别清晰,mark一下
go template

reference: http://www.g-var.com/posts/translation/hugo/hugo-21-go-template-primer/

你可能感兴趣的:(Go template 语法简介)