allfxevents

package
v0.0.0-...-8610112 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package allfxevents implements a Go analysis pass that verifies that an fxevent.Logger implementation handles all known fxevent types. As a special case for no-op or fake fxevent.Loggers, it ignores implementations that handle none of the event types.

This is meant for use within Fx only.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "allfxevents",
	Doc:  "check for unhandled fxevent.Events",
	Run:  run,
	Requires: []*analysis.Analyzer{
		inspect.Analyzer,
	},
}

Analyzer is a go/analysis compatible analyzer that verifies that all fxevent.Loggers shipped with Fx handle all known Fx event types.

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