Versions in this module Expand all Collapse all v1 v1.0.0 Oct 23, 2023 Changes in this version + type Linter struct + func New(r io.Reader) *Linter + func NewWithMetricFamilies(mfs []*dto.MetricFamily) *Linter + func (l *Linter) AddCustomValidations(vs ...Validation) + func (l *Linter) Lint() ([]Problem, error) + type Problem struct + Metric string + Text string + type Validation = func(mf *dto.MetricFamily) []error