commit | ce0314c87e70d5244f89d16930baeb67f4f55227 | [log] [tgz] |
---|---|---|
author | Dominik Honnef <dominik@honnef.co> | Fri Oct 11 11:39:09 2019 +0200 |
committer | Dominik Honnef <dominik@honnef.co> | Mon Oct 21 19:00:55 2019 +0000 |
tree | 38a7ec8a4883bf5b7c00700d13905a180dc21b8d | |
parent | 747b8b11d470df6f35403a44d8089c1ab6e635c4 [diff] |
go/analysis, internal/lsp: add support for related information This CL adds support for "related information", which allows associating additional source positions and messages with a diagnostic. Change-Id: Ifc0634f68c9f3724b6508dc6331c62c819a24f78 Reviewed-on: https://go-review.googlesource.com/c/tools/+/200597 Reviewed-by: Michael Matloob <matloob@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.