I activate this card!
[aya.git] / version.go
blob73bcc5b30e047cf5b4e77c5d32443f7c21189430
1 // This is used for setting build-time variables
2 package aya
4 import (
5 "fmt"
8 var (
9 // Variables set at build-time
10 Date string
11 Vendor string
12 Version string
15 // PrintVersion only displays the obvious
16 func PrintVersion(){
17 fmt.Printf("%s", Version)
20 // PrintFullVersion display the full version and build
21 func PrintFullVersion() string {
22 return fmt.Sprintf("%s, built at %s, on %s", Version, Date, Vendor)