Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InvalidInputError ¶
type InvalidInputError struct { }
func (*InvalidInputError) Error ¶
func (e *InvalidInputError) Error() string
type NotSupportedError ¶
type NotSupportedError struct {
Kind string
}
func (*NotSupportedError) Error ¶
func (e *NotSupportedError) Error() string
type Report ¶
type Report struct { Object string `json:"object"` Valid bool `json:"valid"` Message string `json:"message,omitempty"` Score int `json:"score"` Scoring RuleScoring `json:"scoring,omitempty"` }
type Rule ¶
type RuleRefCustomOrder ¶
type RuleRefCustomOrder []RuleRef
func (RuleRefCustomOrder) Len ¶
func (rr RuleRefCustomOrder) Len() int
func (RuleRefCustomOrder) Less ¶
func (rr RuleRefCustomOrder) Less(i, j int) bool
func (RuleRefCustomOrder) Swap ¶
func (rr RuleRefCustomOrder) Swap(i, j int)
type RuleScoring ¶
Click to show internal directories.
Click to hide internal directories.