version.go 229 B

123456789101112
  1. package zygo
  2. import "fmt"
  3. // version information. See Makefile and gitcommit.go for update/init.
  4. var GITLASTTAG string
  5. var GITLASTCOMMIT string
  6. func Version() string {
  7. return fmt.Sprintf("%s/%s", GITLASTTAG, GITLASTCOMMIT)
  8. }