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

Method String

model/value_histogram.go:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

MarshalJSONMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected