6
0
mirror of https://git.mills.io/prologic/msgbus.git synced 2024-06-16 11:59:03 +00:00
prologic-msgbus/version.go
2022-03-21 02:28:47 +10:00

19 lines
313 B
Go

package msgbus
import (
"fmt"
)
var (
// Version release version
Version = "0.1.1"
// Commit will be overwritten automatically by the build system
Commit = "HEAD"
)
// FullVersion returns the full version, build and commit hash
func FullVersion() string {
return fmt.Sprintf("%s@%s", Version, Commit)
}