]> Cypherpunks repositories - gostls13.git/commit
template: change the signature of formatters for future development.
authorRob Pike <r@golang.org>
Wed, 1 Dec 2010 21:33:49 +0000 (13:33 -0800)
committerRob Pike <r@golang.org>
Wed, 1 Dec 2010 21:33:49 +0000 (13:33 -0800)
commitd1524217df7fa22ac57451b20d0b98a881f70c9e
tree2e793cbc65add719921221f9bc5dfeecd0e76970
parent009aebdba8f35fb8609635520c58f76742e46996
template: change the signature of formatters for future development.
Make them more like Printf, with a ... final argument.  This breaks
code with existing formatters but not the templates that use them.

R=rsc, gri
CC=golang-dev
https://golang.org/cl/3378041
src/cmd/godoc/godoc.go
src/cmd/godoc/main.go
src/pkg/template/format.go
src/pkg/template/template.go
src/pkg/template/template_test.go