1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-07 18:57:18 -05:00
OpenDiablo2/common/BuildInfo.go
2019-11-06 22:12:15 -05: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,
}
}