Documentation ¶ Index ¶ func NewRule(logger *log.Logger, c *config.Config) rules.Rule type Rule func (r *Rule) Apply(roots []eval.Root) error func (r *Rule) IsDisabled() bool func (r *Rule) Name() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewRule ¶ func NewRule(logger *log.Logger, c *config.Config) rules.Rule Types ¶ type Rule ¶ type Rule struct { // contains filtered or unexported fields } func (*Rule) Apply ¶ func (r *Rule) Apply(roots []eval.Root) error func (*Rule) IsDisabled ¶ func (r *Rule) IsDisabled() bool func (*Rule) Name ¶ func (r *Rule) Name() string Source Files ¶ View all Source files rule.go Click to show internal directories. Click to hide internal directories.