cmd/go: import from main repo at go1.11

One patch adjustment needed for CL 128735.

Fixes golang/go#27530.

Change-Id: I3884c2569e89754e31dd1a0ce53fad3b77e05c95
Reviewed-on: https://go-review.googlesource.com/134415
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
101 files changed
tree: 1a4505c7945c93771b3c2567a95ee51f6a2bae1a
  1. vendor/
  2. AUTHORS
  3. codereview.cfg
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. go.mod
  7. LICENSE
  8. main.go
  9. patch.txt
  10. PATENTS
  11. README.md
  12. update.bash
README.md

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.