]> Cypherpunks repositories - gostls13.git/commit
html/template: define the FuncMap type locally
authorRob Pike <r@golang.org>
Wed, 14 Dec 2011 19:22:17 +0000 (11:22 -0800)
committerRob Pike <r@golang.org>
Wed, 14 Dec 2011 19:22:17 +0000 (11:22 -0800)
commit1402d1a68615d037365158578b0c4861e0fb4157
treeb4b9d080ba94a7ba0e30ceb9bef6eaf4739e5adc
parent78821616d69c068bcab85e96ab97f0f157700840
html/template: define the FuncMap type locally
This redefinition means that the public signature of html/template
does not refer to text/template.

Fixes #2546.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5487083
src/pkg/html/template/escape_test.go
src/pkg/html/template/template.go