aboutsummaryrefslogtreecommitdiffhomepage
path: root/docshelper
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2022-03-17 22:03:27 +0100
committerBjørn Erik Pedersen <[email protected]>2022-03-17 22:03:27 +0100
commitb80853de90b10171155b8f3fde47d64ec7bfa0dd (patch)
tree435d3dbf7a495a0c6ce64c9769e037179aa0d27b /docshelper
parent423594e03a906ef4150f433666ff588b022c3c92 (diff)
downloadhugo-b80853de90b10171155b8f3fde47d64ec7bfa0dd.tar.gz
hugo-b80853de90b10171155b8f3fde47d64ec7bfa0dd.zip
all: gofmt -w -r 'interface{} -> any' .
Updates #9687
Diffstat (limited to 'docshelper')
-rw-r--r--docshelper/docs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/docshelper/docs.go b/docshelper/docs.go
index 999e14d7d..1e1594120 100644
--- a/docshelper/docs.go
+++ b/docshelper/docs.go
@@ -17,7 +17,7 @@ package docshelper
type (
DocProviderFunc = func() DocProvider
- DocProvider map[string]map[string]interface{}
+ DocProvider map[string]map[string]any
)
var docProviderFuncs []DocProviderFunc
@@ -44,7 +44,7 @@ func GetDocProvider() DocProvider {
}
// Shallow merge
-func merge(dst, src map[string]interface{}) {
+func merge(dst, src map[string]any) {
for k, v := range src {
dst[k] = v
}