type expvarCollector … // NewExpvarCollector is the obsolete version of collectors.NewExpvarCollector. // See there for documentation. // // Deprecated: Use collectors.NewExpvarCollector instead. func NewExpvarCollector(exports map[string]*Desc) Collector { … } // Describe implements Collector. func (e *expvarCollector) Describe(ch chan<- *Desc) { … } // Collect implements Collector. func (e *expvarCollector) Collect(ch chan<- Metric) { … }