Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsoleReport ¶
type ConsoleReport struct{}
ConsoleReport is a type of text-based report that writes to stdout.
func (*ConsoleReport) Generate ¶
func (cr *ConsoleReport) Generate(report *Report)
Generate generates a text-based report.
type Generator ¶
type Generator interface {
Generate(*Report)
}
Generator is a type that can generate reports.
type Report ¶
type Report struct { GeneratedAt time.Time Analyzers []analyzers.Analyzer Sources []*sources.Source Issues []*analyzers.Issue // contains filtered or unexported fields }
Report represents a report of issues found.
func (*Report) AddAnalyzers ¶
AddAnalyzers adds a list of analyzers to the report.
func (*Report) AddSources ¶
AddSources adds a list of sources to the report.
func (*Report) AnalyzersRun ¶
AnalyzersRun returns a list of IDs associated with the analyzers that were run.
Click to show internal directories.
Click to hide internal directories.