1
0
mirror of https://github.com/golang/go synced 2024-11-18 15:24:41 -07:00

go/analysis/cmd/vet: add errorsas analyzer

Change-Id: I4900b62cb460c8fab2fca6302b472bb531e46eb7
Reviewed-on: https://go-review.googlesource.com/c/tools/+/169457
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Jonathan Amsterdam 2019-03-26 16:50:29 -04:00
parent b8c0eb4911
commit 3ad05305c9

View File

@ -26,6 +26,7 @@ import (
"golang.org/x/tools/go/analysis/passes/cgocall"
"golang.org/x/tools/go/analysis/passes/composite"
"golang.org/x/tools/go/analysis/passes/copylock"
"golang.org/x/tools/go/analysis/passes/errorsas"
"golang.org/x/tools/go/analysis/passes/httpresponse"
"golang.org/x/tools/go/analysis/passes/loopclosure"
"golang.org/x/tools/go/analysis/passes/lostcancel"
@ -58,6 +59,7 @@ func main() {
cgocall.Analyzer,
composite.Analyzer,
copylock.Analyzer,
errorsas.Analyzer,
httpresponse.Analyzer,
loopclosure.Analyzer,
lostcancel.Analyzer,