]> Cypherpunks repositories - gostls13.git/commit
text/template, html/template: use reflect.TypeFor for known types
authorIan Lance Taylor <iant@golang.org>
Mon, 31 Jul 2023 22:24:18 +0000 (15:24 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 1 Aug 2023 14:30:25 +0000 (14:30 +0000)
commit64c2072a94281fe5b19f9349b522881751347726
treeb7cbe09ffcda71166287e8b6e9ef201d7aec6e81
parent56d3e84bb0195913e1d932d6fe8251047091076b
text/template, html/template: use reflect.TypeFor for known types

For #60088

Change-Id: Ibc3983ca5cfe396087ddfa96c43cfe32ca47129a
Reviewed-on: https://go-review.googlesource.com/c/go/+/514640
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
src/html/template/content.go
src/html/template/exec_test.go
src/html/template/js.go
src/text/template/exec.go
src/text/template/exec_test.go