commit | 30cae5f2fb06c7657da3a9e33b9bd82bf5fc45c3 | [log] [tgz] |
---|---|---|
author | Rohan Challa <rohan@golang.org> | Tue Dec 17 16:13:33 2019 -0500 |
committer | Rohan Challa <rohan@golang.org> | Mon Jan 13 15:48:38 2020 +0000 |
tree | 1bc9f6dfedceca837d5e4b190f7f98778cd04d9f | |
parent | eac381796e91db0acd689726cce5b78086509607 [diff] |
internal/lsp: surface diagnostics for invalid go.mod files This change will surface errors that come from the mod package. It will handle incorrect usages, invalid directives, and other errors that occur when parsing go.mod files. Updates golang/go#31999 Change-Id: Icd817c02a4b656b2a71914ee60be4dbe2bea062d Reviewed-on: https://go-review.googlesource.com/c/tools/+/213779 Run-TryBot: Rohan Challa <rohan@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.