Make lint happy

Mostly new-style Go build directives

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
Bryan Boreham
2022-03-14 18:52:10 +00:00
parent 3fb47b94de
commit bcdf2caa61
16 changed files with 16 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ type pendingEntry struct {
older []*report.Report
}
// NewLiveCollector makes a new LiveCollector from the supplied config.
func NewLiveCollector(config LiveCollectorConfig) (app.Collector, error) {
c := &liveCollector{
cfg: config,