]> Cypherpunks repositories - gostls13.git/commit
template: two bug fixes / nits
authorRuss Cox <rsc@golang.org>
Mon, 30 Nov 2009 18:29:14 +0000 (10:29 -0800)
committerRuss Cox <rsc@golang.org>
Mon, 30 Nov 2009 18:29:14 +0000 (10:29 -0800)
commited62d27a52c50e6351fa97a2cafe1915b132c132
treea66f8abf8dafb623e2d604adbbd28b3cf17dcc32
parentbe32c6aaf5e29a316f75d2063bd57d61b80d8646
template: two bug fixes / nits
  * diagnose template not created with New
    (current code just crashes)
  * write []byte uninterpreted
    (current code writes fmt format: "[65 65 65 65]")

R=r
CC=golang-dev
https://golang.org/cl/161075
src/pkg/template/format.go
src/pkg/template/template.go
src/pkg/template/template_test.go