all: gofmt -w -r 'interface{} -> any' .

Updates #9687
This commit is contained in:
Bjørn Erik Pedersen
2022-03-17 22:03:27 +01:00
parent 423594e03a
commit b80853de90
342 changed files with 2118 additions and 2102 deletions

View File

@@ -88,7 +88,7 @@ func TestCollectInfo(t *testing.T) {
{"Basic config map", "{{ $_hugo_config := `" + configStr + "` }}", tpl.ParseInfo{Config: tpl.ParseConfig{Version: 42}}},
}
echo := func(in interface{}) interface{} {
echo := func(in any) any {
return in
}
@@ -129,7 +129,7 @@ func TestPartialReturn(t *testing.T) {
`, true},
}
echo := func(in interface{}) interface{} {
echo := func(in any) any {
return in
}