]> Cypherpunks repositories - gostls13.git/commit
exp/template: find the String method by taking the address if we need to.
authorRob Pike <r@golang.org>
Thu, 11 Aug 2011 04:36:51 +0000 (14:36 +1000)
committerRob Pike <r@golang.org>
Thu, 11 Aug 2011 04:36:51 +0000 (14:36 +1000)
commit6ca968c791587cd70a1c0fcc5ddc21cdc7be60ad
tree3f9904f2789eecfe9c43282c614c206f1f6bdd20
parentf3625e7087087a5d3332183be959a397d1625ff4
exp/template: find the String method by taking the address if we need to.
Also simplify nil handling in printing.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4869042
src/pkg/exp/template/exec.go
src/pkg/exp/template/exec_test.go