Skip to content

Static analysis tool for Go that checks if errors are received with blank identifier

License

Notifications You must be signed in to change notification settings

a2not/errorhandle

Repository files navigation

errorhandle

Go License: MIT

Static analysis tool for Go that checks if errors are assigned to blank identifiers

https://pkg.go.dev/github.com/a2not/errorhandle

Install

go get -u github.com/a2not/errorhandle

what this does

  • detect receiving of returning error type value with _ variable

how to use it

make build
export PATH=$PATH:~/go/src/github.com/a2not/errorhandle/cmd/errorhandle
go vet -vettool=`which errorhandle`

About

Static analysis tool for Go that checks if errors are received with blank identifier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published