Documentation
¶
Overview ¶
Package gclplugin implements the golangci-lint's module plugin interface for ErrStack to be used as a private linter in golangci-lint. See more details at https://golangci-lint.run/plugins/module-plugins/.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrStackPlugin ¶
type ErrStackPlugin struct {
// contains filtered or unexported fields
}
ErrStackPlugin is the ErrStack plugin wrapper for golangci-lint.
func (*ErrStackPlugin) BuildAnalyzers ¶
func (p *ErrStackPlugin) BuildAnalyzers() ([]*analysis.Analyzer, error)
BuildAnalyzers builds the ErrStack analyzer with the configurations applied to the config analyzer.
func (*ErrStackPlugin) GetLoadMode ¶
func (p *ErrStackPlugin) GetLoadMode() string
GetLoadMode returns the load mode of the ErrStack plugin (requiring types info).
Click to show internal directories.
Click to hide internal directories.