google/gops

Report version from binary file

rakyll opened this issue · 1 comments

$ gops <path_to_binary> 

can report the Go version for those who wants to investigate the build version without having to run the binary.

I recently learned that the Go tool can do this itself now. For example:

$ go version /Users/jbd/bin/gops
/Users/jbd/bin/gops: go1.13.3