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

@@ -270,7 +270,7 @@ type Config struct {
Imports []Import
// Meta info about this module (license information etc.).
Params map[string]interface{}
Params map[string]any
// Will be validated against the running Hugo version.
HugoVersion HugoVersion
@@ -386,10 +386,10 @@ type Mount struct {
Lang string // any language code associated with this mount.
// Include only files matching the given Glob patterns (string or slice).
IncludeFiles interface{}
IncludeFiles any
// Exclude all files matching the given Glob patterns (string or slice).
ExcludeFiles interface{}
ExcludeFiles any
}
// Used as key to remove duplicates.