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

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

View as plain text