commit | 042d10a1500495f27e8639a7b0f82fd39341f2c0 | [log] [tgz] |
---|---|---|
author | Pontus Leitzler <leitzler@gmail.com> | Sat Feb 22 13:23:01 2020 +0100 |
committer | Rebecca Stambler <rstambler@golang.org> | Tue Feb 25 18:52:58 2020 +0000 |
tree | 30bb1c95e961b09e199018eec2d316b9735c9a52 | |
parent | 6bd7a3808648dbaa6d96e2797731ff311a641599 [diff] |
gopls: update staticcheck to 2020.1.3 This change updates staticcheck to 2020.1.3. It fixes two bugs involving //lint:ignore directives: - When ignoring U1000 and checking a package that contains tests, Staticcheck would incorrectly complain that the linter directive didn't match any problems, even when it did. - On repeated runs, the position information for a this linter directive didn't match anything report would either be missing, or be wildly incorrect. Change-Id: I98bc57d290393d77af1ab8acf486239a8f125fac Reviewed-on: https://go-review.googlesource.com/c/tools/+/220597 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> 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.