make+build: compile go version into binary

This commit is contained in:
Conner Fromknecht
2020-04-09 17:05:24 -07:00
parent 07420835d0
commit d66f15d01f
2 changed files with 6 additions and 0 deletions

View File

@@ -24,6 +24,10 @@ var (
// RawTags contains the raw set of build tags, separated by commas. This
// should be set using -ldflags during compilation.
RawTags string
// GoVersion stores the go version that the executable was compiled
// with. This hsould be set using -ldflags during compilation.
GoVersion string
)
// semanticAlphabet is the set of characters that are permitted for use in an