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

@@ -119,11 +119,11 @@ func (b Bytes) Bytes() []byte {
// DocumentContext holds contextual information about the document to convert.
type DocumentContext struct {
Document interface{} // May be nil. Usually a page.Page
Document any // May be nil. Usually a page.Page
DocumentID string
DocumentName string
Filename string
ConfigOverrides map[string]interface{}
ConfigOverrides map[string]any
}
// RenderContext holds contextual information about the content to render.