Hi Kevin,
As I replied on Gophers Slack:
go list -m all will give you information about dependencies. Add -json
to give you that in a more easily parsed format.
https://github.com/rogpeppe/gohack can be used to do what you want
with respect to checking out from VCS using the -vcs flag in
combina
While not a tool, there is code that can be bent to this in
golang.org/x/pkgsite/internal/source. I used that to get repo
information for a tool to obtain homepage and issue page links from Go
executables[1]. You could easily extend that kind of approach to get
the actual repo at the relevant versi
Ah, yes, that would work but wouldn't include the git history...
On Wednesday, January 12, 2022 at 12:28:49 PM UTC-8 robert...@gmail.com
wrote:
> https://go.dev/ref/mod#go-mod-vendor
>
> On Wed, Jan 12, 2022 at 10:58 AM Kevin Burke wrote:
>
>> Hi,
>> Sometimes I just want to inspect third part
https://go.dev/ref/mod#go-mod-vendor
On Wed, Jan 12, 2022 at 10:58 AM Kevin Burke wrote:
> Hi,
> Sometimes I just want to inspect third party code for a library, and/or
> edit it.
>
> I'm looking for a tool that will read all of the dependencies in a go.mod
> file and then check out all of the r
Hi,
Sometimes I just want to inspect third party code for a library, and/or
edit it.
I'm looking for a tool that will read all of the dependencies in a go.mod
file and then check out all of the right versions of all of the source code
into the right places in a $GOPATH. Does that exist?
Fail