Go: Find build version
runtime.Version returns the Go tree’s version string, which is
- either the commit hash and date at the time of the build,
- or, when possible, a release tag like
$ go version
go version prints the version in the same format as
Be the first to comment!