Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RuleType ¶
type RuleType string
A RuleType identifies a rule's logic.
const ( // RuleTypeEverything ignores all differences between two attributes' // values. RuleTypeEverything RuleType = "everything" // RuleTypePrefix ignores a given prefix when comparing attribute values. RuleTypePrefix RuleType = "prefix" // RuleTypeWhitespace ignores differences in whitespace between two // attributes' values. Whitespace is as defined by unicode.IsSpace. RuleTypeWhitespace RuleType = "whitespace" )
Click to show internal directories.
Click to hide internal directories.