]> Cypherpunks repositories - gostls13.git/commit
text/template: change IsTrue to take interface{} instead of reflect.Value.
authorDavid Symonds <dsymonds@golang.org>
Thu, 1 Oct 2015 04:21:37 +0000 (14:21 +1000)
committerDavid Symonds <dsymonds@golang.org>
Thu, 1 Oct 2015 04:36:35 +0000 (04:36 +0000)
commit090843b65074a306e4e807bdca1fbb7262ffce26
tree92087451a5f38718bbbbacc6b86822a6afa609a1
parent79480ca07a1515223d49031c59ae37b662f45b5e
text/template: change IsTrue to take interface{} instead of reflect.Value.

This is a follow-up to a326c3e to avoid reflect being in the API.

Fixes #12801.

Change-Id: Ic4c2e592e2c35b5911f75d88f1d9c44787c80f30
Reviewed-on: https://go-review.googlesource.com/15240
Run-TryBot: David Symonds <dsymonds@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/html/template/template.go
src/text/template/exec.go
src/text/template/funcs.go