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

@@ -12,7 +12,7 @@ import (
func init() {
docsProvider := func() docshelper.DocProvider {
return docshelper.DocProvider{
"output": map[string]interface{}{
"output": map[string]any{
"formats": DefaultFormats,
"layouts": createLayoutExamples(),
},
@@ -22,7 +22,7 @@ func init() {
docshelper.AddDocProviderFunc(docsProvider)
}
func createLayoutExamples() interface{} {
func createLayoutExamples() any {
type Example struct {
Example string
Kind string