commit | 4d8d2f8f50a0e4279f692b49f3ed98b4101caec8 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed Jul 04 22:54:37 2018 -0400 |
committer | Russ Cox <rsc@golang.org> | Thu Jul 12 03:17:29 2018 +0000 |
tree | 5b9baef6b9a97d56c6342f3862a0cb638932f501 | |
parent | 73a132e9da59e656acec3430d234708509d969d2 [diff] |
cmd/go/internal/get: complete implementation The original prototype only supported "go get thing" and "go get -u" but not the obvious "go get -u thing". Fix that. Also add "go get -u=patch", as promised in the proposal. (There it was called "-p", but that's a build flag already.) Redefine "go get -m" (not implemented until now) to mean "only update go.mod". Fixes golang/go#24105. Fixes golang/go#24486. Change-Id: I981a86cf2b283f8d05e404292fa5d3482540105c Reviewed-on: https://go-review.googlesource.com/122396 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.