]> Cypherpunks repositories - gostls13.git/commit
text/template: rename the method Template.Template to Template.Lookup
authorRob Pike <r@golang.org>
Sat, 26 Nov 2011 16:32:55 +0000 (08:32 -0800)
committerRob Pike <r@golang.org>
Sat, 26 Nov 2011 16:32:55 +0000 (08:32 -0800)
commite9025df7ad41d93c1c8943323db06bb49c8a16fe
treeeb13e6724a3947562da3a2667e3e26f332d40154
parente38a1053a9a0be021d6d93ebbd3deeb81ed28115
text/template: rename the method Template.Template to Template.Lookup
Calling it Template makes it clumsy to embed the type, which html/template
depends on.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/5432079
src/pkg/text/template/exec_test.go
src/pkg/text/template/template.go