MCPcopy Create free account
hub / github.com/prometheus/common / String

Method String

model/value_histogram.go:25–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23type FloatString float64
24
25func (v FloatString) String() string {
26 return strconv.FormatFloat(float64(v), 'f', -1, 64)
27}
28
29func (v FloatString) MarshalJSON() ([]byte, error) {
30 return json.Marshal(v.String())

Callers 1

MarshalJSONMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected