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.
Click to show internal directories.
Click to hide internal directories.