toolsgolang.org/x/tools/go/analysis/passes/sigchanyzer Index | Files

package sigchanyzer

import "golang.org/x/tools/go/analysis/passes/sigchanyzer"

Package sigchanyzer defines an Analyzer that detects misuse of unbuffered signal as argument to signal.Notify.

Index

Constants

const Doc = "" /* 224 byte string literal not displayed */

Variables

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

Analyzer describes sigchanyzer analysis function detector.

Source Files

sigchanyzer.go

Version
v0.3.0
Published
Nov 9, 2022
Platform
js/wasm
Imports
8 packages
Last checked
5 hours ago

Tools for package owners.