Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name = "unknown" AppName = "unknown" Version = "unknown" Commit = "unknown" Branch = "unknown" BuildDate = "unknown" GoVersion = "unknown" BuildTags = "unknown" )
Build information. Populated at build-time.
Functions ¶
Types ¶
type Info ¶ added in v0.1.19
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"`
BuildDate string `json:"build_date"`
HarpSdkVersion string `json:"harp_sdk_version,omitempty"`
}
Map provides the iterable version information.
Click to show internal directories.
Click to hide internal directories.