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

Struct String

model/value.go:282–285  ·  view source on GitHub ↗

String is a string value evaluated at the set timestamp.

Source from the content-addressed store, hash-verified

280
281// String is a string value evaluated at the set timestamp.
282type String struct {
283 Value string `json:"value"`
284 Timestamp Time `json:"timestamp"`
285}
286
287func (s *String) String() string {
288 return s.Value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected