Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-18 00:03:27 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-18 00:03:27 +0300
commitb80853de90b10171155b8f3fde47d64ec7bfa0dd (patch)
tree435d3dbf7a495a0c6ce64c9769e037179aa0d27b /modules/config.go
parent423594e03a906ef4150f433666ff588b022c3c92 (diff)
all: gofmt -w -r 'interface{} -> any' .
Updates #9687
Diffstat (limited to 'modules/config.go')
-rw-r--r--modules/config.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/config.go b/modules/config.go
index 4b39636cd..ada39cc1f 100644
--- a/modules/config.go
+++ b/modules/config.go
@@ -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.