FunctionalGaugeFloat64 returns value from given function
| 106 | |
| 107 | // FunctionalGaugeFloat64 returns value from given function |
| 108 | type FunctionalGaugeFloat64 struct { |
| 109 | value func() float64 |
| 110 | } |
| 111 | |
| 112 | // Value returns the gauge's current value. |
| 113 | func (g FunctionalGaugeFloat64) Value() float64 { |
nothing calls this directly
no outgoing calls
no test coverage detected