├── .travis.yml ├── LICENSE ├── README.md ├── buffer.go ├── examples ├── child-with-partial.tmpl ├── child.tmpl ├── hello.tmpl ├── master.tmpl ├── partials │ └── question.tmpl └── subdir │ └── home.tmpl ├── grender.go ├── grender_test.go ├── template.go └── template_test.go /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/README.md -------------------------------------------------------------------------------- /buffer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/buffer.go -------------------------------------------------------------------------------- /examples/child-with-partial.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/examples/child-with-partial.tmpl -------------------------------------------------------------------------------- /examples/child.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/examples/child.tmpl -------------------------------------------------------------------------------- /examples/hello.tmpl: -------------------------------------------------------------------------------- 1 | Hello {{.}}! 2 | -------------------------------------------------------------------------------- /examples/master.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/examples/master.tmpl -------------------------------------------------------------------------------- /examples/partials/question.tmpl: -------------------------------------------------------------------------------- 1 | {{define "question"}}How are we today?{{end}} 2 | -------------------------------------------------------------------------------- /examples/subdir/home.tmpl: -------------------------------------------------------------------------------- 1 | Hello, from a subdirectory. 2 | -------------------------------------------------------------------------------- /grender.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/grender.go -------------------------------------------------------------------------------- /grender_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/grender_test.go -------------------------------------------------------------------------------- /template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/template.go -------------------------------------------------------------------------------- /template_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dannyvankooten/grender/HEAD/template_test.go --------------------------------------------------------------------------------