Run gofmt -s on source files

This commit is contained in:
Andreas Deininger
2023-03-10 20:18:41 +01:00
committed by Bjørn Erik Pedersen
parent b6f44aaf1a
commit d55af2abf0
8 changed files with 7 additions and 9 deletions

View File

@@ -143,7 +143,7 @@ func (c *PageCollections) getPageOldVersion(ref ...string) (page.Page, error) {
return c.getPageNew(nil, key)
}
// Only used in tests.
// Only used in tests.
func (c *PageCollections) getPage(typ string, sections ...string) page.Page {
refs := append([]string{typ}, path.Join(sections...))
p, _ := c.getPageOldVersion(refs...)