max_len

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const MaxLenRule = model.MaxLenRule

MaxLenRule is the corresponding rule name.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaxLenChecker

type MaxLenChecker struct{}

MaxLenChecker checks maximum line length of godocs.

func NewMaxLenChecker

func NewMaxLenChecker() *MaxLenChecker

NewMaxLenChecker returns a new instance of the corresponding checker.

func (*MaxLenChecker) Apply

func (r *MaxLenChecker) Apply(actx *model.AnalysisContext) error

Apply implements the corresponding interface method.

func (*MaxLenChecker) GetCoveredRules

func (r *MaxLenChecker) GetCoveredRules() model.RuleSet

GetCoveredRules implements the corresponding interface method.

Jump to

Keyboard shortcuts

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