statsd_exporter/vendor/github.com/alecthomas/template
Frank Davidson d55b42eabb :Issue 234: Split into reusable packages.
Signed-off-by: Frank Davidson <frank_davidson@manulife.com>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:49 -04:00
..
parse :Issue 234: Split into reusable packages. 2020-04-08 15:29:49 -04:00
doc.go :Issue 234: Split into reusable packages. 2020-04-08 15:29:49 -04:00
exec.go :Issue 234: Split into reusable packages. 2020-04-08 15:29:49 -04:00
funcs.go :Issue 234: Split into reusable packages. 2020-04-08 15:29:49 -04:00
go.mod :Issue 234: Split into reusable packages. 2020-04-08 15:29:49 -04:00
helper.go :Issue 234: Split into reusable packages. 2020-04-08 15:29:49 -04:00
LICENSE :Issue 234: Split into reusable packages. 2020-04-08 15:29:49 -04:00
README.md :Issue 234: Split into reusable packages. 2020-04-08 15:29:49 -04:00
template.go :Issue 234: Split into reusable packages. 2020-04-08 15:29:49 -04:00

Go's text/template package with newline elision

This is a fork of Go 1.4's text/template package with one addition: a backslash immediately after a closing delimiter will delete all subsequent newlines until a non-newline.

eg.

{{if true}}\
hello
{{end}}\

Will result in:

hello\n

Rather than:

\n
hello\n
\n