package
0.0.0-20220729082848-6059b0e2926c
Repository: https://github.com/sharefull/refactortools.git
Documentation: pkg.go.dev
# README
sharefull/refactortools/errisas
errisas
finds error handling codes which do not use errors.Is or errors.As.
Install
You can get errisas
by go install
command (Go 1.16 and higher).
$ go install github.com/sharefull/refactortools/errisas/cmd/errisas@latest
How to use
errisas
run with go vet
as below when Go is 1.12 and higher.
$ go vet -vettool=$(which errisas) ./...
Analyze with golang.org/x/tools/go/analysis
You can use errisas.Analyzer with unitchecker.
# Packages
No description provided by the author
# Variables
No description provided by the author