by dmit·13y ago·view on hn ↗There's no guaranteed way unfortunately. If you expect to need this in the future, you can add a flag in your program to print runtime.Version(). But for existing binaries that don't use that function the version will not be included in the binary.http://golang.org/pkg/runtime/#Version