2025-11-09 01:02:31 +00:00
|
|
|
package mining
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
version = "dev"
|
|
|
|
|
commit = "none"
|
|
|
|
|
date = "unknown"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// GetVersion returns the version of the application
|
|
|
|
|
func GetVersion() string {
|
|
|
|
|
return version
|
|
|
|
|
}
|
2025-12-31 09:24:12 +00:00
|
|
|
|
|
|
|
|
// GetCommit returns the git commit hash
|
|
|
|
|
func GetCommit() string {
|
|
|
|
|
return commit
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// GetBuildDate returns the build date
|
|
|
|
|
func GetBuildDate() string {
|
|
|
|
|
return date
|
|
|
|
|
}
|