Open at15 opened 4 years ago
Go's built in text/template and html/template is pretty useful for generating code, custom output (e.g. docker, kubectl, helm). However every time I need to use it I need to learn it again ... this post should list common syntax (and pitfalls)
text/template
html/template
docker
kubectl
helm
And common places to use go template
Type
Related
Description
Go's built in
text/template
andhtml/template
is pretty useful for generating code, custom output (e.g.docker
,kubectl
,helm
). However every time I need to use it I need to learn it again ... this post should list common syntax (and pitfalls)And common places to use go template
Update