mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-10-31 16:27:18 -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,
|
||
|
}
|
||
|
}
|