Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
readme: add instructions for bypassing gomod proxy.
We do not want to contribute to informing Google of every single user that uses go-libp2p, thanks. Also, the default proxy (proxy.golang.org) contains old and deprecated `+incompatible` versions that the Go toolchain selects over the more recent go-modded versions. See golang/go#34189 and golang/go#34217.
- Loading branch information
cda548a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use bash
$ GOPRIVATE='github.com/libp2p/*' go get ./...
But got
unrecognized import path "go-common/app/interface/main/kvo/model": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/kvo/service": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/kvo/dao": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/kvo/model/module": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/laser/conf": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/laser/http": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/laser/model": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/laser/service": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/laser/dao": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/mcn/conf": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/mcn/server/http": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/mcn/tool/datacenter": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/mcn/dao/cache": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/mcn/dao/global": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/mcn/tool/cache": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/mcn/model": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/mcn/tool/validate": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/mcn/service": import path does not begin with hostname
unrecognized import path "go-common/app/interface/main/mcn/dao/bfs": import path does not begin with hostname
cda548a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liguiz