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

@@ -132,7 +132,7 @@ func (r *htmlRenderer) renderCodeBlock(w util.BufWriter, src []byte, node ast.No
}
type codeBlockContext struct {
page interface{}
page any
lang string
code string
ordinal int
@@ -146,7 +146,7 @@ type codeBlockContext struct {
*attributes.AttributesHolder
}
func (c *codeBlockContext) Page() interface{} {
func (c *codeBlockContext) Page() any {
return c.page
}