errisas

package
v0.0.0-...-6059b0e Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: MIT Imports: 6 Imported by: 0

README

sharefull/refactortools/errisas

pkg.go.dev

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.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "errisas",
	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