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

Function BuildContext

version/info.go:101–103  ·  view source on GitHub ↗

BuildContext returns goVersion, platform, buildUser and buildDate information.

()

Source from the content-addressed store, hash-verified

99
100// BuildContext returns goVersion, platform, buildUser and buildDate information.
101func BuildContext() string {
102 return fmt.Sprintf("(go=%s, platform=%s, user=%s, date=%s, tags=%s)", GoVersion, GoOS+"/"+GoArch, BuildUser, BuildDate, GetTags())
103}

Callers

nothing calls this directly

Calls 1

GetTagsFunction · 0.85

Tested by

no test coverage detected