noiferr

package module
v0.0.0-...-b8d6222 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 5 Imported by: 0

README

noiferr

Go

Static analysis tool for Go that checks if errors are properly handled with conditional branch

Install

go get -u github.com/a2not/noiferr

what this does

  • check if the received error type is handled with conditional branch

how to use it

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "noiferr",
	Doc:  doc,
	Run:  run,
	Requires: []*analysis.Analyzer{
		buildssa.Analyzer,
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL