b5c833ca21
* Update go.mod dependencies before release Signed-off-by: Julius Volz <julius.volz@gmail.com> * Add issue for showing query warnings in promtool Signed-off-by: Julius Volz <julius.volz@gmail.com> * Revert json-iterator back to 1.1.6 It produced errors when marshaling Point values with special float values. Signed-off-by: Julius Volz <julius.volz@gmail.com> * Fix expected step values in promtool tests after client_golang update Signed-off-by: Julius Volz <julius.volz@gmail.com> * Update generated protobuf code after proto dep updates Signed-off-by: Julius Volz <julius.volz@gmail.com> |
||
---|---|---|
.. | ||
parse | ||
LICENSE | ||
README.md | ||
doc.go | ||
exec.go | ||
funcs.go | ||
go.mod | ||
helper.go | ||
template.go |
README.md
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