MCPcopy
hub / github.com/prometheus/client_golang / String

Method String

prometheus/collectors/gen_go_collector_set.go:181–183  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179type goVersion int
180
181func (g goVersion) String() string {
182 return fmt.Sprintf("go1.%d", g)
183}
184
185func (g goVersion) Abbr() string {
186 return fmt.Sprintf("go1%d", g)

Callers 15

labelsToLabelPairFunction · 0.45
assetMetricAndExemplarsFunction · 0.45
TestHandlerErrorHandlingFunction · 0.45
TestHandlerTimeoutFunction · 0.45
TestGetOptCodesFunction · 0.45
TestGroupedOpCodesFunction · 0.45
GetUnifiedDiffStringFunction · 0.45

Calls

no outgoing calls

Tested by 13

labelsToLabelPairFunction · 0.36
assetMetricAndExemplarsFunction · 0.36
TestHandlerErrorHandlingFunction · 0.36
TestHandlerTimeoutFunction · 0.36
TestGetOptCodesFunction · 0.36
TestGroupedOpCodesFunction · 0.36
TestSanitizeFunction · 0.36
testWriteSummaryFunction · 0.36
testWriteHistogramFunction · 0.36
testToReaderFunction · 0.36