Open adam-hanna opened 6 years ago
@adam-hanna technically, this isn't a gx
issue. I am not sure of the reason but go-ipfs
commited the gx import paths and that is what is incompatible with vgo
/go get
. A counter example is that vgo
works perfectly with go-libp2p
even though it also makes use of gx
.
Hi @lanzafame, thanks for the quick response!
It looks like go-libp2p isn't using gx imports in their source code. However, go-ipfs regularly do.
That last link I gave is where my program is failing when running vgo. Unless I misunderstood your counter example?
Yeah, so this issue should get raised with go-ipfs
to see what people are willing to do about it.
@whyrusleeping it may be a good idea, if possible, to get go-ipfs
ready for go1.11
and remove the gx imports. Thoughts?
There is another thing that vgo needs though, and that is properly tagged releases. Currently most ipfs & libp2p modules have some release tags but not for all releases, that means vgo picks up the latest tagged release instead of the actual latest release. This would work fine if there were no tags, but having some releases tagged makes for a very inconsistent experience.
Trying to run the project with vgo (which will be worked into g1.11) with
vgo run main.go
and am getting the following errors:Probably related to #2