Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "1.9.0"
Version information
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReportLevel ¶ added in v1.1.0
type ReportLevel int
ReportLevel represents the verbosity level of the report
const ( ReportLevelSummary ReportLevel = iota // Show only optimization overview ReportLevelChanged // Show overview + changed structs ReportLevelFull // Show all structs )
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter is the report generator
func NewReporter ¶
func NewReporter(format, output string, level ReportLevel) *Reporter
NewReporter creates a report generator
func NewReporterWithLang ¶ added in v1.7.5
func NewReporterWithLang(format, output string, level ReportLevel, lang Lang) *Reporter
NewReporterWithLang creates a report generator (with language support)
func (*Reporter) GenerateHTML ¶
GenerateHTML generates an HTML format report
func (*Reporter) GenerateMD ¶
GenerateMD generates a Markdown format report
Click to show internal directories.
Click to hide internal directories.