diff --git a/doc/2020.2.html b/doc/2020.2.html index 8a3cae71..39927c73 100644 --- a/doc/2020.2.html +++ b/doc/2020.2.html @@ -11,6 +11,7 @@
+ This release fixes a rare crash in Staticcheck, reduces the number of false positives, and adds support for Go 1.16's io/fs.FileMode
type.
+
io/fs.FileMode
type in addition to os.FileMode
.Printf
calls of the form Printf(fn())
when fn
has multiple return values.github.com/golang/glog
on a function's control flow.
If you use Go modules, you can simply run go get honnef.co/go/tools/cmd/staticcheck
to obtain the latest released version.
If you're still using a GOPATH-based workflow, then the above command will instead fetch the master branch.
- It is suggested that you explicitly check out the latest release tag instead, which is currently 2020.2.1
.
+ It is suggested that you explicitly check out the latest release tag instead, which is currently 2020.2.2
.
One way of doing so would be as follows:
cd $GOPATH/src/honnef.co/go/tools/cmd/staticcheck
-git checkout 2020.2.1
+git checkout 2020.2.2
go get
go install