what is the origin of that go binary? http://mcquay.me/gorigin/
Go to file
Stephen McQuay 70169d2489 added simple readme 2015-03-05 07:03:09 -08:00
license added license 2015-03-05 06:59:14 -08:00
main.go use full path to help location of source 2015-03-04 22:25:20 -08:00
readme.md added simple readme 2015-03-05 07:03:09 -08:00

readme.md

gorigin

Have you ever peered into $GOPATH/bin only to wonder where all that stuff came from?

As someone who originally came from scripting languages where one could trivially peer into an 'executable' using an editor, the origin of binaries in that folder (specifically if GOPATH=~) was completely opaque to me. Not any more!

gorigin helps shed light on this by creating a list of binaries in all the bin folders in the GOPATH and marching through all the src folders in the GOPATH and reporting when a go package with a package name of main matches.