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

..29-Jul-2019-

parse/H29-Jul-2019-2,0931,609

LICENSEH A D29-Jul-20191.4 KiB2824

README.mdH A D29-Jul-2019381 2618

doc.goH A D29-Jul-201915.1 KiB4071

exec.goH A D29-Jul-201925.8 KiB846681

funcs.goH A D29-Jul-201914.5 KiB599485

go.modH A D29-Jul-201938 21

helper.goH A D29-Jul-20193.6 KiB10961

template.goH A D29-Jul-20196.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