commit | 8facea2ecf42791db365a9fda7ae99f3bbf11b06 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Thu Dec 12 11:53:53 2019 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Thu Dec 12 20:31:36 2019 +0000 |
tree | 464dac3d103a0ab51a7b92cca08bd153d9dacfca | |
parent | 825cb0626375eeecd4d401e7f1653c1ec405d2c8 [diff] |
go/packages: disable -mod=readonly behavior in overlays This was preventing mod files from being updated when dependencies were added to overlays. This prevents gopls from accurately modifying a user's mod file when a dependency is added, which poses problems for usability. To handle the issues that this was (supposedly) solving, we can require that files from multiple modules are never added in an overlay. For some reason, this doesn't break TestOverlayModFileChanges. Change-Id: I24d6c30754c2bebc440802f7cf2931d98e450ebf Reviewed-on: https://go-review.googlesource.com/c/tools/+/211058 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.