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