]> Cypherpunks repositories - gostls13.git/commit
html/template: update to new template API
authorRob Pike <r@golang.org>
Wed, 30 Nov 2011 22:42:18 +0000 (17:42 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 30 Nov 2011 22:42:18 +0000 (17:42 -0500)
commit07ee3cc741604136254499ccaf1e6c9d1bd868ff
treedfa670cbb8f241517ee94152cf603cbcbccbcb45
parent0e62c75b9d6e96a24c5a0a933c6a634a4595d62a
html/template: update to new template API

Not quite done yet but enough is here to review.

Embedding is eliminated so clients can't accidentally reach
methods of text/template.Template that would break the
invariants.

TODO later: Add and Clone are unimplemented.
TODO later: address issue 2349

R=golang-dev, r, rsc
CC=golang-dev
https://golang.org/cl/5434077
src/pkg/Makefile
src/pkg/html/template/clone_test.go
src/pkg/html/template/escape.go
src/pkg/html/template/escape_test.go
src/pkg/html/template/template.go