Documentation
¶
Overview ¶
Package excessivefuncparams implements a Go analysis linter that flags functions with too many positional parameters.
Index ¶
Constants ¶
View Source
const DefaultMaxParams = 8
DefaultMaxParams is the default maximum number of parameters allowed in a function declaration.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "excessivefuncparams", Doc: "reports functions whose parameter count exceeds the limit (default 8 params)", URL: "https://github.com/github/gh-aw/tree/main/pkg/linters/excessivefuncparams", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Analyzer is the excessive-function-parameters analysis pass.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.