Versions in this module Expand all Collapse all v0 v0.4.0 Apr 19, 2026 Changes in this version + func WriteBaseline(path string, baseline Baseline) error + type Baseline struct + ModulePath string + Packages map[string]Ratio + SchemaVersion int + Total Ratio + func NewBaseline(modulePath string, snapshot Snapshot) Baseline + func ReadBaseline(path string) (Baseline, error) + type Ratio struct + Covered int64 + Statements int64 + func (r Ratio) Percent() float64 + type Regression struct + Baseline Ratio + Current Ratio + Name string + Scope Scope + func Compare(baseline Baseline, current Snapshot) []Regression + type Scope string + const ScopePackage + const ScopeTotal + type Snapshot struct + Packages map[string]Ratio + Total Ratio + func ParseSnapshot(r io.Reader) (Snapshot, error)