Versioned Go Command (vgo)
This repository holds a standalone implementation of a version-aware
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
GO111MODULEvariable defaults to
- When using a Go 1.10 toolchain,
go get -u golang.org/x/vgo.
You can also manually
git clone the repository to
Report Issues / Send Patches
Please file bugs in the main Go issue tracker,
and put the prefix
x/vgo: in the issue title,
cmd/go: if you have confirmed that the same
bug is present in the Go 1.11 module support.
Vgo is a prototype of what the go command might look like with integrated support for package versioning.
Download and install with:
go get -u golang.org/x/vgo
Then run "vgo" instead of "go".
This is still a very early prototype. You are likely to run into bugs. Please file bugs in the main Go issue tracker, https://golang.org/issue, and put the prefix `x/vgo:` in the issue title.