go/src/html/template
Russ Cox 2580d0e08d all: gofmt -w -r 'interface{} -> any' src
And then revert the bootstrap cmd directories and certain testdata.
And adjust tests as needed.

Not reverting the changes in std that are bootstrapped,
because some of those changes would appear in API docs,
and we want to use any consistently.
Instead, rewrite 'any' to 'interface{}' in cmd/dist for those directories
when preparing the bootstrap copy.

A few files changed as a result of running gofmt -w
not because of interface{} -> any but because they
hadn't been updated for the new //go:build lines.

Fixes #49884.

Change-Id: Ie8045cba995f65bd79c694ec77a1b3d1fe01bb09
Reviewed-on: https://go-review.googlesource.com/c/go/+/368254
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
2021-12-13 18:45:54 +00:00
..
testdata html/template, text/template: add ParseFS 2020-10-20 18:41:14 +00:00
attr.go all: use bytes.Cut, strings.Cut 2021-10-06 15:53:04 +00:00
attr_string.go
clone_test.go all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
content.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
content_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
context.go html/template, text/template: implement break and continue for range loops 2021-09-23 02:52:10 +00:00
css.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
css_test.go
delim_string.go
doc.go
element_string.go
error.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
escape.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
escape_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
example_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
examplefiles_test.go all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
exec_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
html.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
html_test.go
js.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
js_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
jsctx_string.go
multi_test.go html/template, text/template: add ParseFS 2020-10-20 18:41:14 +00:00
state_string.go
template.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
template_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
transition.go
transition_test.go
url.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
url_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
urlpart_string.go