You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-09-10 22:51:54 +03:00
* Switch to using kingpin for CLI interface as upstream Prometheus has moved that way too.
381 B
381 B
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