Documentation ¶ Index ¶ type Config func NewConfig() *Config type Rule func NewRule(logger *log.Logger, cfg *Config) *Rule func (r *Rule) Apply(roots []eval.Root) reports.ReportList func (r *Rule) IsDisabled() bool func (r *Rule) Name() string func (r *Rule) WalkType(t expr.DataType) (rl reports.ReportList) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Disabled bool Level reports.ErrorLevel } func NewConfig ¶ func NewConfig() *Config type Rule ¶ type Rule struct { // contains filtered or unexported fields } func NewRule ¶ func NewRule(logger *log.Logger, cfg *Config) *Rule func (*Rule) Apply ¶ func (r *Rule) Apply(roots []eval.Root) reports.ReportList func (*Rule) IsDisabled ¶ func (r *Rule) IsDisabled() bool func (*Rule) Name ¶ func (r *Rule) Name() string func (*Rule) WalkType ¶ func (r *Rule) WalkType(t expr.DataType) (rl reports.ReportList) Source Files ¶ View all Source files config.go rule.go Click to show internal directories. Click to hide internal directories.