From d8d17da673d756bf9e85173b82cc11aed622786f Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 15 Apr 2019 15:22:58 +0300 Subject: [PATCH] Point to a Counter, which could be used as a gauge --- gauge.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gauge.go b/gauge.go index 6d89f18..a50e488 100644 --- a/gauge.go +++ b/gauge.go @@ -27,6 +27,8 @@ func NewGauge(name string, f func() float64) *Gauge { } // Gauge is a float64 gauge. +// +// See also Counter, which could be used as a gauge with Set and Dec calls. type Gauge struct { f func() float64 }