Closed
Description
golang templates support the use of {{- ... -}}
to remove extra whitespace between tags in templates.
This allows you to write templates which are easily readable by humans, without the extra whitespace changing the output of the rendered template.
I have found that using this style makes it a lot easier to understand the templates.