1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-10-31 08:17:21 -04:00
OpenDiablo2/Common/BuildInfo.go
2019-11-02 16:15:16 -04:00

16 lines
224 B
Go

package Common
type BuildInfoRecord struct {
Branch string
Commit string
}
var BuildInfo BuildInfoRecord
func SetBuildInfo(branch, commit string) {
BuildInfo = BuildInfoRecord{
Branch: branch,
Commit: commit,
}
}