Documentation
¶
Overview ¶
Package yze is the analyzer catalog for the yze family: it aggregates every yze-<group>-<name> analyzer's registration and filters the set by group and category. The cmd/yze binary drives this catalog through the go-yze runner.
Index ¶
Constants ¶
View Source
const ErrUnknownFormat errs.Const = "unknown output format"
ErrUnknownFormat reports an output format the aggregator does not support.
Variables ¶
This section is empty.
Functions ¶
func Filter ¶
func Filter(regs []goyze.Registration, group goyze.Group, categories []goyze.Category) []goyze.Registration
Filter selects the registrations matching the given group and categories. An empty group matches every group; an empty category set matches every category; a registration matches the category set when it carries any of the categories.
func Registrations ¶
func Registrations() []goyze.Registration
Registrations returns every analyzer in the suite, in stable rule-id order.
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
yze
command
Command yze runs the gomatic yze analyzer suite over the given package patterns and emits a normalized report (the stickler-json contract by default).
|
Command yze runs the gomatic yze analyzer suite over the given package patterns and emits a normalized report (the stickler-json contract by default). |
Click to show internal directories.
Click to hide internal directories.