Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filterer ¶
func MatcherFilter ¶
func MessageRegexpFilter ¶
func NamePathFilter ¶
func RelativePathFilter ¶
type IssueParser ¶
type IssueParser interface { // IsStartToken returns true if the provided line contains a token that signals that it represents a new Issue. // If the parser is strictly a line-based one (every line is a new issue), the implementation can always return // true. IsStartToken(line string) bool // ParseSingleIssue parses the provided string and returns the Issue that is parsed from it. The first line of // the input must be a line that causes "IsStartToken" to return true. Returns an error if the provided input // cannot be parsed as an issue. ParseSingleIssue(input string) (Issue, error) }
type LineParser ¶
func DefaultParser ¶
func DefaultParser(pathType pkgpath.Type) LineParser
func MultiLineParser ¶
func MultiLineParser(pathType pkgpath.Type) LineParser
func RawParser ¶
func RawParser() LineParser
func StartAfterFirstWhitespaceParser ¶
func StartAfterFirstWhitespaceParser(pathType pkgpath.Type) LineParser
type SingleLineIssueParser ¶
type SingleLineIssueParser struct { LineParser LineParser RootDir string }
func (*SingleLineIssueParser) IsStartToken ¶
func (p *SingleLineIssueParser) IsStartToken(line string) bool
func (*SingleLineIssueParser) ParseSingleIssue ¶
func (p *SingleLineIssueParser) ParseSingleIssue(input string) (Issue, error)
Click to show internal directories.
Click to hide internal directories.