Re: [go-nuts] Find package versions in a given binary

2018-08-26 Thread Tim Waugh
On Fri, 24 Aug 2018, 18:30 Paul Jolly, wrote: > Take a look at https://github.com/rsc/goversion > > The -m flag should give you details of the modules used to build your > program. > Thanks, that's exactly what I was looking for. Tim. */ -- You received this message because you are subscribed

Re: [go-nuts] Find package versions in a given binary

2018-08-24 Thread Paul Jolly
Hi Tim, There happens to have been a discussion about this recently on Twitter (see https://twitter.com/_myitcv/status/1032836284987977729) Take a look at https://github.com/rsc/goversion The -m flag should give you details of the modules used to build your program. Thanks, Paul On Fri, 24 Au

[go-nuts] Find package versions in a given binary

2018-08-24 Thread Tim Waugh
Hi, Does anyone know if there is a tool for working out which package versions were built into a given executable? I see that with Go 1.11 with modules enabled, the filenames embedded in the object have version numbers in them, e.g.: TEXT github.com/Masterminds/semver.(*Version).Equal(SB) /var/t