xgo icon indicating copy to clipboard operation
xgo copied to clipboard

Outside project not in GOPATH can't use go mod with build tags -mod=vendor

Open 15652768278 opened this issue 5 years ago • 0 comments

RT, If I link the soft link use ln -s the xgo run go get timeout, like this get https://proxy.golang.org/github.com/go-xorm/xorm/@v/v0.7.9.mod: Get https://proxy.golang.org/github.com/go-xorm/xorm/@v/v0.7.9.mod: net/http: TLS handshake timeout but I use the go mod and create vendor path in project path, and I want build mod use project path vendor, maybe not success xgo -v -x \ -image=dockerhub.deepglint.com/golang/karalabe/xgo-latest:latest \ -targets=linux/arm64 \ -buildmode=vendor \ . What should I do?

15652768278 avatar Aug 07 '20 01:08 15652768278