Package list golang-github-go-kit-kit / ff538ab
metrics: expvar: fix typo in constructor comment Peter Bourgon 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4646
4747 // NewGauge returns a new Gauge backed by an expvar with the given name. It
4848 // should be updated manually; for a callback-based approach, see
49 // NewCallbackGauge. Fields are ignored.
49 // PublishCallbackGauge. Fields are ignored.
5050 func NewGauge(name string) metrics.Gauge {
5151 return &gauge{expvar.NewFloat(name)}
5252 }