Documentation
¶
Index ¶
Constants ¶
View Source
const ( RiskSafe riskLevel = "safe" RiskWarning riskLevel = "warning" RiskDanger riskLevel = "danger" )
View Source
const ( StatusCovered lineStatus = "covered" StatusUncovered lineStatus = "uncovered" StatusNotCoverable lineStatus = "not-coverable" StatusPartial lineStatus = "partial" )
Variables ¶
This section is empty.
Functions ¶
func GenerateSummary ¶
GenerateSummary copies the embedded React dist and writes data.js. If logger is nil, logging is skipped.
func NewHtmlReactReportBuilder ¶
func NewHtmlReactReportBuilder(outputDir string, logger *slog.Logger) reporter.ReportBuilder
Types ¶
type HtmlReactReportBuilder ¶
type HtmlReactReportBuilder struct {
// contains filtered or unexported fields
}
func (*HtmlReactReportBuilder) CreateReport ¶
func (b *HtmlReactReportBuilder) CreateReport(tree *model.SummaryTree) error
func (*HtmlReactReportBuilder) ReportType ¶
func (b *HtmlReactReportBuilder) ReportType() string
Click to show internal directories.
Click to hide internal directories.