1
0
mirror of https://github.com/Lusitaniae/apache_exporter.git synced 2025-07-30 12:03:06 +03:00
Files
apache_exporter/vendor/github.com/alecthomas/template
Pedro 8d71ecafc8 Vendor dependencies with govendor
Will be useful for the following commits, by allowing the standard release procedure for prometheus exporters.
2017-10-02 20:54:59 +02:00
..
2017-10-02 20:54:59 +02:00
2017-10-02 20:54:59 +02:00
2017-10-02 20:54:59 +02:00
2017-10-02 20:54:59 +02:00
2017-10-02 20:54:59 +02:00
2017-10-02 20:54:59 +02:00
2017-10-02 20:54:59 +02:00
2017-10-02 20:54:59 +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