nopanic

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package nopanic implements an analyzer that checks if somewhere in the source, there is a panic.

Index

Constants

View Source
const Doc = "check if there is any panic in the code"

Doc is the documentation string that is shown on the command line if help is requested.

Variables

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

Analyzer implements the analyzer that checks for panics.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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