Open AlekSi opened 5 years ago
var ( factories = make(map[string]func() (Collector, error)) collectorState = make(map[string]*bool) ) func registerCollector(collector string, isDefaultEnabled bool, factory func() (Collector, error)) { // ... }
Note that everything is black after collectorState variables.
collectorState
Note that everything is black after
collectorState
variables.