all: Format code with gofumpt

See https://github.com/mvdan/gofumpt
This commit is contained in:
Bjørn Erik Pedersen
2020-12-02 13:23:25 +01:00
parent 32471b57bd
commit d90e37e0c6
442 changed files with 1426 additions and 2254 deletions

View File

@@ -66,8 +66,8 @@ func (p *nopPage) RSSLink() template.URL {
func (p *nopPage) Author() Author {
return Author{}
}
func (p *nopPage) Authors() AuthorList {
return nil
}
@@ -119,6 +119,7 @@ func (p *nopPage) Description() string {
func (p *nopPage) RefFrom(argsm map[string]interface{}, source interface{}) (string, error) {
return "", nil
}
func (p *nopPage) RelRefFrom(argsm map[string]interface{}, source interface{}) (string, error) {
return "", nil
}
@@ -356,6 +357,7 @@ func (p *nopPage) PublishDate() (t time.Time) {
func (p *nopPage) PrevInSection() Page {
return nil
}
func (p *nopPage) NextInSection() Page {
return nil
}