recover_linter

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

README

recover-linter

go-errorlint is a source code linter for Go that can be used to find unsafe goroutines without recover expressions

Panic in goroutine without recover can crash entire application

Usage

recover-linter accepts a set of package names similar to golint:

recover-linter ./...

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnalyzer

func NewAnalyzer() *analysis.Analyzer

func NewPlugin added in v1.1.0

func NewPlugin(_ any) (register.LinterPlugin, error)

Types

type Plugin added in v1.1.0

type Plugin struct{}

func (Plugin) BuildAnalyzers added in v1.1.0

func (Plugin) BuildAnalyzers() ([]*analysis.Analyzer, error)

func (Plugin) GetLoadMode added in v1.1.0

func (Plugin) GetLoadMode() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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