Versions in this module Expand all Collapse all v0 v0.1.1 Apr 13, 2026 v0.1.0 Apr 12, 2026 Changes in this version + func CompressUncoveredLines(w io.Writer, ull []int) + func Deliver(w io.Writer, output string, cfg OutputConfig) + func SetGithubActionOutput(totalCoveragePercent int, bestReport string) error + type BuildInput struct + Diff []coverage.FileCoverageDiff + DiffPercentage float64 + DiffThreshold *float64 + FileThreshold int + FilesBelowThreshold []coverage.Stats + FilesWithMissingExplanations []coverage.Stats + FilesWithUncoveredLines []coverage.Stats + HasBaseBreakdown bool + HasFileOverrides bool + HasPackageOverrides bool + MeetsDiffThreshold bool + PackageThreshold int + PackagesBelowThreshold []coverage.Stats + Pass bool + PassCoverage bool + TotalStats coverage.Stats + type CSVFormatter struct + func (f *CSVFormatter) Format(r Report) string + type CoverageSection struct + BelowThreshold []coverage.Stats + HasOverrides bool + Pass bool + Threshold int + type DiffSection struct + Changes []coverage.FileCoverageDiff + MeetsThreshold bool + Percentage float64 + Threshold *float64 + type Emitter interface + Emit func(w io.Writer, report Report) + type Format string + const FormatCSV + const FormatJSON + const FormatMarkdown + const FormatText + type Formatter interface + Format func(report Report) string + func NewFormatter(format string) Formatter + type GithubActionEmitter struct + func (e *GithubActionEmitter) Emit(w io.Writer, r Report) + type JSONFormatter struct + func (f *JSONFormatter) Format(r Report) string + type MarkdownFormatter struct + func (f *MarkdownFormatter) Format(r Report) string + type OutputConfig struct + FileName string + Format Format + ShowAnnotations ShowMode + ShowDiff ShowMode + ShowFileCoverage ShowMode + ShowPackageCoverage ShowMode + ShowUncoveredLines ShowMode + func (c *OutputConfig) ApplyDefaults() + func (c *OutputConfig) Validate() error + type Report struct + Annotations []coverage.Stats + Diff *DiffSection + FileCoverage *CoverageSection + PackageCoverage *CoverageSection + Pass bool + TotalCoverage coverage.Stats + UncoveredLines []coverage.Stats + func BuildReport(input BuildInput, cfg OutputConfig) Report + type ShowMode string + const ShowAlways + const ShowAuto + const ShowNever + const ShowOnFail + const ShowThreshold + type TextFormatter struct + func (f *TextFormatter) Format(r Report) string