Files
2018-05-16 16:02:49 -07:00

201 B

vers

simple project to demonstrate bulding a tool with a compile-time adjusted value:


$ go install -ldflags=-X=mcquay.me/vers.Version=bleh mcquay.me/vers/cmd/vers
$ vers
version: bleh