jason 075d766964 first 3 lat temu
..
parse 075d766964 first 3 lat temu
testdata 075d766964 first 3 lat temu
LICENSE 075d766964 first 3 lat temu
README.md 075d766964 first 3 lat temu
doc.go 075d766964 first 3 lat temu
example_test.go 075d766964 first 3 lat temu
examplefiles_test.go 075d766964 first 3 lat temu
examplefunc_test.go 075d766964 first 3 lat temu
exec.go 075d766964 first 3 lat temu
exec_test.go 075d766964 first 3 lat temu
funcs.go 075d766964 first 3 lat temu
go.mod 075d766964 first 3 lat temu
helper.go 075d766964 first 3 lat temu
multi_test.go 075d766964 first 3 lat temu
template.go 075d766964 first 3 lat temu

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