Would it be possible to add functionality like go ld has? (Or maybe it's already possible and my google-fu fails me...?) This would be quite useful in Makefiles, build recipes, etc.
-X symbol value
Set the value of an otherwise uninitialized string variable.
The symbol name should be of the form importpath.name,
as displayed in the symbol table printed by "go tool nm".
go build -ldflags "-X main.minversion `date -u +.%Y%m%d%.H%M%S`" service.go