MCPcopy Index your code
hub / github.com/coder/coder / versionInfo

Struct versionInfo

cli/version.go:16–23  ·  view source on GitHub ↗

versionInfo wraps the stuff we get from buildinfo so that it's easier to emit in different formats.

Source from the content-addressed store, hash-verified

14// versionInfo wraps the stuff we get from buildinfo so that it's
15// easier to emit in different formats.
16type versionInfo struct {
17 Version string `json:"version"`
18 BuildTime time.Time `json:"build_time"`
19 ExternalURL string `json:"external_url"`
20 Slim bool `json:"slim"`
21 AGPL bool `json:"agpl"`
22 BoringCrypto bool `json:"boring_crypto"`
23}
24
25// String() implements Stringer
26func (vi versionInfo) String() string {

Callers 1

versionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected