1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-04 09:17:17 -05: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,
}
}