aboutsummaryrefslogtreecommitdiffhomepage
path: root/markup/markup_config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/markup_config/config.go')
-rw-r--r--markup/markup_config/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/markup/markup_config/config.go b/markup/markup_config/config.go
index d4a101709..ddcba8c3a 100644
--- a/markup/markup_config/config.go
+++ b/markup/markup_config/config.go
@@ -67,7 +67,7 @@ func Decode(cfg config.Provider) (conf Config, err error) {
return
}
-func normalizeConfig(m map[string]interface{}) {
+func normalizeConfig(m map[string]any) {
v, err := maps.GetNestedParam("goldmark.parser", ".", m)
if err != nil {
return
@@ -117,7 +117,7 @@ var Default = Config{
func init() {
docsProvider := func() docshelper.DocProvider {
- return docshelper.DocProvider{"config": map[string]interface{}{"markup": parser.LowerCaseCamelJSONMarshaller{Value: Default}}}
+ return docshelper.DocProvider{"config": map[string]any{"markup": parser.LowerCaseCamelJSONMarshaller{Value: Default}}}
}
docshelper.AddDocProviderFunc(docsProvider)
}