...

Text file src/text/template/testdata/file2.tmpl

Documentation: text/template/testdata

     1{{define "dot"}}{{.}}{{end}}
     2{{define "nested"}}{{template "dot" .}}{{end}}

View as plain text