commit | db2fa46ec33c618b29a7c6935439e6800b3078a8 | [log] [tgz] |
---|---|---|
author | Suzy Mueller <suzmue@golang.org> | Fri Jul 12 15:54:06 2019 -0700 |
committer | Suzy Mueller <suzmue@golang.org> | Sat Jul 27 17:31:35 2019 +0000 |
tree | 86778445ad22bad483bc9ccac7202f799bc604e1 | |
parent | 1bd56024c6204c5d493f13273473cf5b3e0e8194 [diff] |
internal/lsp: compare mod file versions used in imports The results of running 'go list -m' are only valid as long as the current module and the modules in its replace directives do not change their go.mod files. Store the 'go.mod' versions that are used in the imports call, and reinitialize the module resolver if they change. Change-Id: Idb73c92b9e4dc243a276885e5333fafd2315134d Reviewed-on: https://go-review.googlesource.com/c/tools/+/186597 Run-TryBot: Suzy Mueller <suzmue@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@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.