2019-11-10 03:36:53 -05:00
|
|
|
package d2common
|
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,
|
|
|
|
}
|
|
|
|
}
|