Node_Exporter/vendor/github.com/alecthomas/template
Simon Pasquier cfc06075d1 Bump github.com/prometheus/common to v0.7.0
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-09-16 10:59:12 +02:00
..
parse Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
doc.go Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
exec.go Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
funcs.go Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
go.mod Bump github.com/prometheus/common to v0.7.0 2019-09-16 10:59:12 +02:00
helper.go Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
LICENSE Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
README.md Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02:00
template.go Switch to kingpin flags (#639) 2017-08-12 15:07:24 +02: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