2019-11-06 22:12:15 -05:00
|
|
|
package common
|
2019-11-02 16:15:16 -04:00
|
|
|
|
|
|
|
type BuildInfoRecord struct {
|
|
|
|
Branch string
|
|
|
|
Commit string
|
|
|
|
}
|
|
|
|
|
|
|
|
var BuildInfo BuildInfoRecord
|
|
|
|
|
|
|
|
func SetBuildInfo(branch, commit string) {
|
|
|
|
BuildInfo = BuildInfoRecord{
|
|
|
|
Branch: branch,
|
|
|
|
Commit: commit,
|
|
|
|
}
|
|
|
|
}
|