mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-06 19:44:15 -04:00
16 lines
224 B
Go
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,
|
|
}
|
|
}
|