Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/vendor/github.com/alecthomas/template
Joe Elliott fc6c5c063f dep => go mod (#1062) 6 years ago
..
parse Add kingpin. 7 years ago
LICENSE Add kingpin. 7 years ago
README.md Add kingpin. 7 years ago
doc.go Add kingpin. 7 years ago
exec.go Add kingpin. 7 years ago
funcs.go Add kingpin. 7 years ago
go.mod dep => go mod (#1062) 6 years ago
helper.go Add kingpin. 7 years ago
template.go Add kingpin. 7 years ago

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