Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name = "unknown" AppName = "unknown" Version = "unknown" Commit = "unknown" Branch = "unknown" GoVersion = "unknown" BuildTags = "unknown" )
Build information. Populated at build-time.
Functions ¶
Types ¶
type Info ¶
type Info struct { Name string `json:"name"` ComponentName string `json:"component_name"` Version string `json:"version"` GitBranch string `json:"branch"` GitCommit string `json:"commit"` BuildTags string `json:"build_tags"` GoVersion string `json:"go"` BuildDeps []buildDep `json:"build_deps"` HarpSdkVersion string `json:"harp_sdk_version,omitempty"` }
Map provides the iterable version information.
Click to show internal directories.
Click to hide internal directories.