6
0
mirror of https://git.mills.io/prologic/msgbus.git synced 2024-06-16 03:49:03 +00:00
prologic-msgbus/version.go
2018-05-08 01:52:10 -07:00

22 lines
412 B
Go

package msgbus
import (
"fmt"
)
var (
// Version release version
Version = "0.1.1"
// 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)
}