commit | 069601f3714ee8c0caa1075f1946b1e466c18b67 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Tue Feb 05 12:58:32 2019 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Tue Feb 05 18:07:22 2019 +0000 |
tree | 7396de2fdc106167da35729ca1c20b43b0d1aeca | |
parent | 7f7074d5bcfd282eb16bc382b0bb3da762461985 [diff] |
internal/lsp: use interface for diagnostics code Since the diagnostics code can be either a string or a number, use an empty interface. Change-Id: Ie1a4183b5c82ef177176075828511070ae3520bd Reviewed-on: https://go-review.googlesource.com/c/161217 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@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.