summaryrefslogtreecommitdiffstats
path: root/helpers/processing_stats.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-02-21 09:23:43 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-02-21 09:59:33 +0100
commit772128485a7e94932cd18b5e3a78d8cfb273e797 (patch)
tree1d0f54b218927859cabd5bc62f32e94668450f10 /helpers/processing_stats.go
parentc2c4cb1f9f9ea9f05a9c9cf7123a17660208cad4 (diff)
Run gofmt -s with Go 1.10
See #4434
Diffstat (limited to 'helpers/processing_stats.go')
-rw-r--r--helpers/processing_stats.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/helpers/processing_stats.go b/helpers/processing_stats.go
index 36dfcda69..2d7fcb4de 100644
--- a/helpers/processing_stats.go
+++ b/helpers/processing_stats.go
@@ -41,14 +41,14 @@ type processingStatsTitleVal struct {
func (s *ProcessingStats) toVals() []processingStatsTitleVal {
return []processingStatsTitleVal{
- processingStatsTitleVal{"Pages", s.Pages},
- processingStatsTitleVal{"Paginator pages", s.PaginatorPages},
- processingStatsTitleVal{"Non-page files", s.Files},
- processingStatsTitleVal{"Static files", s.Static},
- processingStatsTitleVal{"Processed images", s.ProcessedImages},
- processingStatsTitleVal{"Aliases", s.Aliases},
- processingStatsTitleVal{"Sitemaps", s.Sitemaps},
- processingStatsTitleVal{"Cleaned", s.Cleaned},
+ {"Pages", s.Pages},
+ {"Paginator pages", s.PaginatorPages},
+ {"Non-page files", s.Files},
+ {"Static files", s.Static},
+ {"Processed images", s.ProcessedImages},
+ {"Aliases", s.Aliases},
+ {"Sitemaps", s.Sitemaps},
+ {"Cleaned", s.Cleaned},
}
}