]> Cypherpunks repositories - gostls13.git/commit
html/template: simplify ExecuteTemplate a little
authorRob Pike <r@golang.org>
Tue, 6 Dec 2011 20:47:12 +0000 (12:47 -0800)
committerRob Pike <r@golang.org>
Tue, 6 Dec 2011 20:47:12 +0000 (12:47 -0800)
commitee8b597b1f1ffa634189cdd8ab23f976f65dab7f
treed91be199f08b6cf4f9b21eded0b2e7425f793778
parent66410bac3d01253af9e1e1cbec65f7a90b2007ec
html/template: simplify ExecuteTemplate a little
Allow the text template to handle the error case of no template
with the given name.
Simplification suggested by Mike Samuel.

R=mikesamuel
CC=golang-dev
https://golang.org/cl/5437147
src/pkg/html/template/template.go