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
path: root/source
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 /source
parent423594e03a906ef4150f433666ff588b022c3c92 (diff)
all: gofmt -w -r 'interface{} -> any' .
Updates #9687
Diffstat (limited to 'source')
-rw-r--r--source/content_directory_test.go2
-rw-r--r--source/sourceSpec.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/content_directory_test.go b/source/content_directory_test.go
index 8f1d0df4f..4d800cb5a 100644
--- a/source/content_directory_test.go
+++ b/source/content_directory_test.go
@@ -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},
diff --git a/source/sourceSpec.go b/source/sourceSpec.go
index 46a55bf64..0b7306a75 100644
--- a/source/sourceSpec.go
+++ b/source/sourceSpec.go
@@ -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
}