Skip to content
This repository was archived by the owner on Feb 7, 2022. It is now read-only.
This repository was 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

@15652768278

Description

@15652768278

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions