vikunja-api/vendor/github.com/alecthomas/template
2019-10-16 20:52:29 +00:00
..
parse Migrate to new swagger docs generation (#18) 2018-11-12 15:46:35 +00:00
doc.go Migrate to new swagger docs generation (#18) 2018-11-12 15:46:35 +00:00
exec.go Migrate to new swagger docs generation (#18) 2018-11-12 15:46:35 +00:00
funcs.go Migrate to new swagger docs generation (#18) 2018-11-12 15:46:35 +00:00
go.mod Task Attachments (#104) 2019-10-16 20:52:29 +00:00
helper.go Migrate to new swagger docs generation (#18) 2018-11-12 15:46:35 +00:00
LICENSE Migrate to new swagger docs generation (#18) 2018-11-12 15:46:35 +00:00
README.md Migrate to new swagger docs generation (#18) 2018-11-12 15:46:35 +00:00
template.go Migrate to new swagger docs generation (#18) 2018-11-12 15:46:35 +00: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