mirror of
https://git.mills.io/prologic/msgbus.git
synced 2024-06-28 09:41:43 +00:00
22 lines
412 B
Go
22 lines
412 B
Go
package msgbus
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
var (
|
|
// Version release version
|
|
Version = "0.1.0"
|
|
|
|
// Build will be overwritten automatically by the build system
|
|
Build = "dev"
|
|
|
|
// GitCommit will be overwritten automatically by the build system
|
|
GitCommit = "HEAD"
|
|
)
|
|
|
|
// FullVersion returns the full version, build and commit hash
|
|
func FullVersion() string {
|
|
return fmt.Sprintf("%s-%s@%s", Version, Build, GitCommit)
|
|
}
|