]> Cypherpunks repositories - gostls13.git/commit
template: allow a leading '*' to indicate that evaulation should
authorRob Pike <r@golang.org>
Fri, 4 Feb 2011 23:21:08 +0000 (15:21 -0800)
committerRob Pike <r@golang.org>
Fri, 4 Feb 2011 23:21:08 +0000 (15:21 -0800)
commit5008c63e6e1b9c1f384c529c3bbe09e9c64ca444
treeb169f9ba42cca357a43853f5587c184bcd90c5a9
parent6e615a57af895f1d4f7f7ff95d741b3f188fef5c
template: allow a leading '*' to indicate that evaulation should
indirect through a pointer.

Fixes #1478.

R=rsc, r2
CC=golang-dev
https://golang.org/cl/4131045
src/pkg/template/template.go
src/pkg/template/template_test.go