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

@@ -87,7 +87,7 @@ type Sitemap struct {
Filename string
}
func DecodeSitemap(prototype Sitemap, input map[string]interface{}) Sitemap {
func DecodeSitemap(prototype Sitemap, input map[string]any) Sitemap {
for key, value := range input {
switch key {
case "changefreq":
@@ -177,7 +177,7 @@ func (s *Server) MatchRedirect(pattern string) Redirect {
type Headers struct {
For string
Values map[string]interface{}
Values map[string]any
}
type Redirect struct {