Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
(Edited to use a clearer example)
The documentation for go2go says "If not found in GO2PATH, imports will be looked up in the usual way." which hints the tool is GOPATH-only. That seems to be so:
I doubt this is worth a major effort. If it's easy though, it would be useful for experiments converting a few leaf packages in a large project.
(I have a package in tailscale's corp repository that gets easier to read and more efficient with type parameters that I would happily convert to go2go now, but it requires lifting a lot of the build system back into GOPATH.)
I'm curious, Is there a workaround for this other than having to download the dependency using
Using the example above, I can solve it by manually downloading the package in the