main.go: gofmt format

Change-Id: I9098344d41057adbe415dda786b833562c1e2af8
Reviewed-on: https://go-review.googlesource.com/c/vgo/+/520736
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
1 file changed
tree: 90a74cbb35cd1c949d57e931c739ac6d8f4be659
  1. vendor/
  2. codereview.cfg
  3. CONTRIBUTING.md
  4. go.mod
  5. go.sum
  6. LICENSE
  7. main.go
  8. patch.txt
  9. PATENTS
  10. README.md
  11. update.bash
  12. vulnerable.go
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.