]> Cypherpunks repositories - gostls13.git/commit
exp/template: A template can be in one set only.
authorRob Pike <r@golang.org>
Thu, 21 Jul 2011 04:22:01 +0000 (14:22 +1000)
committerRob Pike <r@golang.org>
Thu, 21 Jul 2011 04:22:01 +0000 (14:22 +1000)
commit0f7a1951b82b80dcf1b8398e8ead03ed158e029e
treef4c362add91ff56d75fec1bb63f4dc1dc7b13577
parent5f134f9b5ba3030a6c13c562f7436b68df8f036e
exp/template: A template can be in one set only.
This simplifies the API and makes it easier to make the template
invocation statically secure, at the cost of some minor flexibility.

R=golang-dev, dsymonds, r
CC=golang-dev
https://golang.org/cl/4794045
src/pkg/exp/template/doc.go
src/pkg/exp/template/exec.go
src/pkg/exp/template/exec_test.go
src/pkg/exp/template/parse.go
src/pkg/exp/template/set.go