Find out the version of Go a Binary was built with? -


is there way tell go version binary built with?

i have multiple go instances on workstation, want verify correct 1 used.

use runtime.version() @ runtime figure out version of go binary built with:

func version() string 

version returns go tree's version string. either sequence number or, when possible, release tag "release.2010-03-04". trailing + indicates tree had local modifications @ time of build.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -