Documentation ¶ Index ¶ type Linter func NewLinter(root string, config *config.Config, statistic *debug.Statistic, ...) *Linter func (linter *Linter) AddError(error *rule.Error) func (linter *Linter) GetErrors() []*rule.Error func (linter *Linter) GetStatistics() *debug.Statistic func (linter *Linter) Run(filesystem fs.FS, debug bool) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Linter ¶ type Linter struct { *sync.RWMutex // contains filtered or unexported fields } func NewLinter ¶ func NewLinter(root string, config *config.Config, statistic *debug.Statistic, errors []*rule.Error) *Linter func (*Linter) AddError ¶ func (linter *Linter) AddError(error *rule.Error) func (*Linter) GetErrors ¶ func (linter *Linter) GetErrors() []*rule.Error func (*Linter) GetStatistics ¶ func (linter *Linter) GetStatistics() *debug.Statistic func (*Linter) Run ¶ func (linter *Linter) Run(filesystem fs.FS, debug bool) (err error) Source Files ¶ View all Source files linter.go Click to show internal directories. Click to hide internal directories.