Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

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

Open
15652768278 opened this issue Aug 7, 2020 · 0 comments

Comments

@15652768278
Copy link

15652768278 commented Aug 7, 2020

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant