Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

containers/go: correct tools installation in modules mode #424

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

hyangah
Copy link
Contributor

@hyangah hyangah commented Jul 22, 2020

When installing tools, install them individuallly rather than
with one single go get command. Otherwise, the go command
runs MVS for all the listed tools and builds each tool with
unexpected dependencies.

See golang/vscode-go#363 (comment)

Also, remove gometalinter - vscode-go no longer uses it.

GO111MODULE=auto is perfectly fine. If go.mod exists
in the repo, the go command will automatically switch to the
modules mode. Unsetting is also fine but I will leave it as it is.

When installing tools, install them individuallly rather than
with one single `go get` command. Otherwise, the go command
runs MVS for all the listed tools and builds each tool with
unexpected dependencies.

See golang/vscode-go#363 (comment)

Also, remove gometalinter - vscode-go no longer uses it.

GO111MODULE=auto is perfectly fine. If `go.mod` exists
in the repo, the go command will automatically switch to the
modules mode. Unsetting is also fine but I will leave it as it is.
@Chuxel
Copy link
Member

Chuxel commented Jul 22, 2020

LGTM! Thanks much!

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

Successfully merging this pull request may close these issues.

2 participants