• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..11-May-2020-

parse/H11-May-2020-2,0931,609

LICENSEH A D11-May-20201.4 KiB2824

README.mdH A D11-May-2020381 2618

doc.goH A D11-May-202015.1 KiB4071

exec.goH A D11-May-202025.8 KiB846681

funcs.goH A D11-May-202014.5 KiB599485

go.modH A D11-May-202038 21

helper.goH A D11-May-20203.6 KiB10961

template.goH A D11-May-20206.6 KiB219145

README.md

1# Go's `text/template` package with newline elision
2
3This is a fork of Go 1.4's [text/template](http://golang.org/pkg/text/template/) package with one addition: a backslash immediately after a closing delimiter will delete all subsequent newlines until a non-newline.
4
5eg.
6
7```
8{{if true}}\
9hello
10{{end}}\
11```
12
13Will result in:
14
15```
16hello\n
17```
18
19Rather than:
20
21```
22\n
23hello\n
24\n
25```
26