Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileResults ¶
FileResults contains all the Results for the file
func (*FileResults) String ¶
func (fr *FileResults) String() string
type Result ¶
type Result struct { Rule *rule.Rule Violation string StartPosition *token.Position EndPosition *token.Position }
Result contains data about the result of a broken rule
func FindResults ¶
FindResults returns the results that match the rule for the given text. filename and line are only used for the Position
Click to show internal directories.
Click to hide internal directories.