1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

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

@@ -63,11 +63,11 @@ func TestPagesCapture(t *testing.T) {
}
type testPagesCollectorProcessor struct {
items []interface{}
items []any
waitErr error
}
func (proc *testPagesCollectorProcessor) Process(item interface{}) error {
func (proc *testPagesCollectorProcessor) Process(item any) error {
proc.items = append(proc.items, item)
return nil
}