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

Method String

model/value.go:254–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252}
253
254func (s Scalar) String() string {
255 return fmt.Sprintf("scalar: %v @[%v]", s.Value, s.Timestamp)
256}
257
258// MarshalJSON implements json.Marshaler.
259func (s Scalar) MarshalJSON() ([]byte, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected