1
0
mirror of https://github.com/golang/go synced 2024-11-21 12:44:40 -07:00
go/doc/codelab/wiki
Rob Pike f56db6f534 text/template: new, simpler API
The Set type is gone. Instead, templates are automatically associated by
being parsed together; nested definitions implicitly create associations.
Only associated templates can invoke one another.

This approach dramatically reduces the breadth of the construction API.

For now, html/template is deleted from src/pkg/Makefile, so this can
be checked in. Nothing in the tree depends on it. It will be updated next.

R=dsymonds, adg, rsc, r, gri, mikesamuel, nigeltao
CC=golang-dev
https://golang.org/cl/5415060
2011-11-23 20:17:22 -08:00
..
edit.html doc/codelab: use new template package 2011-08-18 10:38:08 +10:00
final-noclosure.go text/template: new, simpler API 2011-11-23 20:17:22 -08:00
final-noerror.go text/template: new, simpler API 2011-11-23 20:17:22 -08:00
final-parsetemplate.go text/template: new, simpler API 2011-11-23 20:17:22 -08:00
final-template.go text/template: new, simpler API 2011-11-23 20:17:22 -08:00
final.go text/template: new, simpler API 2011-11-23 20:17:22 -08:00
get.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
htmlify.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
http-sample.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
index.html text/template: new, simpler API 2011-11-23 20:17:22 -08:00
Makefile doc/codelab/wiki: fix Makefile 2011-08-29 09:24:24 -04:00
notemplate.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
part1-noerror.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
part1.go non-pkg: gofix -r error -force=error 2011-11-01 22:06:05 -04:00
part2.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
srcextract.go renaming_4: gofix -r everything/but/src/pkg 2011-11-08 15:43:02 -08:00
test_edit.good codelab/wiki: fix build 2011-01-26 12:54:07 -05:00
test_Test.txt.good Wiki codelab, complete with tests. 2010-04-28 12:36:39 +10:00
test_view.good Wiki codelab, complete with tests. 2010-04-28 12:36:39 +10:00
test.sh doc/codelab/wiki: include into windows build 2011-03-07 15:48:39 +11:00
view.html doc/codelab: use new template package 2011-08-18 10:38:08 +10:00
wiki.html all: rename os.Error to error in various non-code contexts 2011-11-01 22:58:09 -04:00