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.

Using with go mod #138

@kolaente

Description

@kolaente

Is it possible to use xgo with go modules? When using the latest version of xgo, it doesn't use the modules, I get an error like

go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src;
	ignoring go.mod;
	see 'go help modules'

IMHO there are two possibilites to solve this: Either add an option to xgo which allows specifying extra evironment variables which are then passed to the container or an extra parameter to enable go modules (which would also pass an environment variable to the container).

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