main.go 212 B

1234567891011121314
  1. // main.go
  2. package main
  3. import "fmt"
  4. var (
  5. version = "dev-default"
  6. commit = "none"
  7. date = "unknown" // RFC3339
  8. )
  9. func main() {
  10. fmt.Printf("Version %s, commmit %s, date: %v\n", version, commit, date)
  11. }