Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyRuleError = LintRuleError{Text: "", ID: "", ObjectID: ""}
Functions ¶
This section is empty.
Types ¶
type LintRuleError ¶
func NewLintRuleError ¶
func NewLintRuleError(id, objectID string, value interface{}, template string, a ...interface{}) LintRuleError
func (*LintRuleError) EqualsTo ¶
func (l *LintRuleError) EqualsTo(candidate LintRuleError) bool
func (*LintRuleError) IsEmpty ¶
func (l *LintRuleError) IsEmpty() bool
type LintRuleErrorsList ¶
type LintRuleErrorsList struct {
// contains filtered or unexported fields
}
func (*LintRuleErrorsList) Add ¶
func (l *LintRuleErrorsList) Add(e LintRuleError)
func (*LintRuleErrorsList) ConvertToError ¶
func (l *LintRuleErrorsList) ConvertToError() error
func (*LintRuleErrorsList) Merge ¶
func (l *LintRuleErrorsList) Merge(e LintRuleErrorsList)
Click to show internal directories.
Click to hide internal directories.