vgo

command module
v0.0.0-...-29efa12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

README

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.

Documentation

Overview

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".

See https://research.swtch.com/vgo-intro for an overview and the documents linked at https://research.swtch.com/vgo for additional details.

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.

Thank you.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL