]> Cypherpunks repositories - gostls13.git/commit
exp/template: simplify the helper functions
authorRob Pike <r@golang.org>
Thu, 28 Jul 2011 23:19:16 +0000 (16:19 -0700)
committerRob Pike <r@golang.org>
Thu, 28 Jul 2011 23:19:16 +0000 (16:19 -0700)
commit1b4dff0f6923f5d7004d47de5ebeba3758074c86
tree04c51c629b72427eaa3d813e1f432b4bbe086e22
parent28a23675cdf370b27d97b28c0029e1175032e03e
exp/template: simplify the helper functions
- create a pair of "Must" functions, one for templates, one for sets
- regularize the return values of the parsers so they can be wrapped by Must
- delete all the old Must functions and methods.

R=golang-dev, gri, r
CC=golang-dev
https://golang.org/cl/4826052
src/pkg/exp/template/exec_test.go
src/pkg/exp/template/helper.go
src/pkg/exp/template/parse.go
src/pkg/exp/template/parse_test.go
src/pkg/exp/template/set.go
src/pkg/exp/template/set_test.go