gorigin/readme.md

13 lines
572 B
Markdown
Raw Permalink Normal View History

2015-03-05 07:03:09 -08:00
# gorigin
Have you ever peered into `$GOPATH/bin` only to wonder where all that stuff came from?
2017-09-18 09:26:34 -07:00
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!
2015-03-05 07:03:09 -08:00
2017-09-18 09:26:34 -07:00
`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.