prometheus/vendor/github.com/alecthomas/template
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883)
* 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>
2019-08-14 11:00:39 +02:00
..
parse vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
LICENSE vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
README.md vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
doc.go vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
exec.go vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
funcs.go vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
go.mod Update go.mod dependencies before release (#5883) 2019-08-14 11:00:39 +02:00
helper.go vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00
template.go vendor: add kingpin, drop unused deps 2017-06-20 17:37:40 +02:00

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