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
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
342 changed files with 2118 additions and 2102 deletions

View file

@ -29,7 +29,7 @@ func TestIgnoreDotFilesAndDirectories(t *testing.T) {
tests := []struct {
path string
ignore bool
ignoreFilesRegexpes interface{}
ignoreFilesRegexpes any
}{
{".foobar/", true, nil},
{"foobar/.barfoo/", true, nil},

View file

@ -37,7 +37,7 @@ type SourceSpec struct {
shouldInclude func(filename string) bool
Languages map[string]interface{}
Languages map[string]any
DefaultContentLanguage string
DisabledLanguages map[string]bool
}