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

Method String

model/value.go:233–235  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

231}
232
233func (s Scalar) String() string {
234 return fmt.Sprintf("scalar: %v @[%v]", s.Value, s.Timestamp)
235}
236
237// MarshalJSON implements json.Marshaler.
238func (s Scalar) MarshalJSON() ([]byte, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected