-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows us to use build version information to help debug issues.
- Loading branch information
Showing
5 changed files
with
53 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package version | ||
|
||
// BuildDate is the flag that gets set at build time | ||
// Set by go build -ldflags "-X" flag | ||
var BuildDate string | ||
|
||
// GitCommit is the flag that gets set at build time | ||
// Set by go build -ldflags "-X" flag | ||
var GitCommit string | ||
|
||
// GitTreeState is the flag that gets set at build time | ||
// Set by go build -ldflags "-X" flag | ||
var GitTreeState string | ||
|
||
// GitMajor is the flag that gets set at build time | ||
// Set by go build -ldflags "-X" flag | ||
var GitMajor string | ||
|
||
// GitMinor is the flag that gets set at build time | ||
// Set by go build -ldflags "-X" flag | ||
var GitMinor string | ||
|
||
// GitVersion is the flag that gets set to the git version at build time | ||
// Set by go build -ldflags "-X" flag | ||
var GitVersion = "development" | ||
|
||
// GitReleaseCommit is the flag that gets set at build time | ||
// Set by go build -ldflags "-X" flag | ||
var GitReleaseCommit string |