all: Run modernize -fix ./...

This commit is contained in:
Bjørn Erik Pedersen
2025-02-26 10:15:04 +01:00
parent b7ae24b9c2
commit 521911a576
141 changed files with 302 additions and 354 deletions

View File

@@ -587,7 +587,7 @@ func (p *testPage) WordCount(context.Context) int {
func createTestPages(num int) Pages {
pages := make(Pages, num)
for i := 0; i < num; i++ {
for i := range num {
m := &testPage{
path: fmt.Sprintf("/x/y/z/p%d.md", i),
weight: 5,