Lint-fix: Package comments

This commit is contained in:
Calle Pettersson
2018-10-04 21:35:33 +02:00
committed by Calle Pettersson
parent 7e05621b26
commit f2462b26c8
24 changed files with 45 additions and 96 deletions

View File

@@ -1,5 +1,3 @@
// returns data points from {{ .Class }}
// <add link to documentation here> - {{ .Class }} class
package collector
import (
"github.com/StackExchange/wmi"
@@ -38,6 +36,8 @@ func (c *{{ .CollectorName }}Collector) Collect(ch chan<- prometheus.Metric) err
}
return nil
}
// {{ .Class }} docs:
// - <add link to documentation here>
type {{ .Class }} struct {
Name string
{{ range $m := .Members }}