add version package

Added version info to binary.
Added the go version dependency to read executable info.
Original version package from 654e10aaab/version
This commit is contained in:
Victor Vrantchan
2020-07-06 07:16:17 -04:00
parent a53efd9c37
commit 4dfecb7113
5 changed files with 116 additions and 2 deletions

1
go.mod
View File

@@ -9,4 +9,5 @@ require (
github.com/oklog/ulid v1.3.1 // indirect
github.com/oklog/ulid/v2 v2.0.2
github.com/peterbourgon/ff/v3 v3.0.0
rsc.io/goversion v1.2.0
)