Clone this repo:

Branches

  1. 9d56762 cmd/go: import from main repo at go1.11 by Bryan C. Mills · 2 months ago master
  2. 045754d cmd/go: import from main repo at go1.11beta3 by Russ Cox · 4 months ago
  3. 2093985 cmd/go: import from main repo by Russ Cox · 4 months ago
  4. cc75ec0 cmd/go: add local module proxy to make tests faster by Russ Cox · 4 months ago
  5. 91f8741 cmd/go: rename TestModLegacy* to TestLegacyMod* by Russ Cox · 4 months ago

Versioned Go Command (vgo)

This repository holds a standalone implementation of a version-aware go command, allowing users with a Go 1.10 toolchain to use the new Go 1.11 module support.

The code in this repo is auto-generated from and should behave exactly like the Go 1.11 go command, with two changes:

  • It behaves as if the GO111MODULE variable defaults to on.
  • When using a Go 1.10 toolchain, go vet during go test is disabled.

Download/Install

Use go get -u golang.org/x/vgo.

You can also manually git clone the repository to $GOPATH/src/golang.org/x/vgo.

Report Issues / Send Patches

See CONTRIBUTING.md.

Please file bugs in the main Go issue tracker, golang.org/issue, and put the prefix x/vgo: in the issue title, or cmd/go: if you have confirmed that the same bug is present in the Go 1.11 module support.

Thank you.