commit | 9a43f146dfbdd0a39ff13e6425a73d2751c2ef06 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Jun 13 09:46:17 2018 -0400 |
committer | Russ Cox <rsc@golang.org> | Wed Jun 27 18:58:28 2018 +0000 |
tree | 708af43b76d019a5ffbb5ce2e8a7c6330e5224ce | |
parent | 97ff4ad34612eed56f1dc6c6aaee19617e45e2be [diff] |
cmd/go/internal/list: add module support This CL changes the clumsy hard-coded "list -m" and "list -m -u" with a real template-based implementation analogous to what we do for listing packages. (In fact it reuses most of the package implementation.) See the documentation for more details. The main visible changes compared to the original vgo are: - "vgo list -m" is now "vgo list -m all". - "vgo list -m -u" is now "vgo list -m -u all". - The default output is no longer a fixed-width-aligned table. - The output no longer has COLUMN HEADERS. - "vgo list -m -json [all]" now works. Fixes golang/go#24347. Fixes golang/go#25360. Change-Id: Ie6a677875abca876ae334c8554298d3c56076b94 Reviewed-on: https://go-review.googlesource.com/120198 Reviewed-by: Bryan C. Mills <bcmills@google.com>
This repository holds a prototype of what the go command might look like with integrated support for package versioning.
See research.swtch.com/vgo for documents about the design.
Use go get -u golang.org/x/vgo
.
You can also manually git clone the repository to $GOPATH/src/golang.org/x/vgo
.
See CONTRIBUTING.md.
This is still a very early prototype. You are likely to run into bugs. Please file bugs in the main Go issue tracker, golang.org/issue, and put the prefix x/vgo:
in the issue title.
Thank you.