Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GitBranch = "main" GitCommit = "commit" // sha1 from git, output of $(git rev-parse HEAD) BuildDate = "1970-01-01T00:00:00Z" // build date in ISO8601 format, output of $(date -u +'%Y-%m-%dT%H:%M:%SZ') )
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { GitBranch string `json:"gitBranch"` GitCommit string `json:"gitCommit"` BuildDate string `json:"buildDate"` GoVersion string `json:"goVersion"` Compiler string `json:"compiler"` Platform string `json:"platform"` }
Click to show internal directories.
Click to hide internal directories.