fathom/vendor/github.com/alecthomas/template
Danny 93b285c0a9 change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
..
parse change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
LICENSE change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
README.md change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
doc.go change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
exec.go change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
funcs.go change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
helper.go change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
template.go change project directory structure to clean-up root dir 2018-04-20 13:12:23 +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