Versions in this module Expand all Collapse all v0 v0.1.0 Aug 26, 2026 Changes in this version + const MaxEntryCountDrift + const MinBaselineEntries + func Collect(dir string) ([]Entry, Stats, error) + func CollectWithReachability(dir string, reach *cascades.ReachabilityCollector) ([]Entry, Stats, error) + func NormalizeAliases(s string) string + func Render(entries []Entry, st Stats) string + func RenderDiff(r DiffReport) string + func ShapeOf(p plans.RecordQueryPlan) []string + func ValidateDiffInputs(oldB, newB *Baseline) error + type Baseline struct + Entries []Entry + Path string + Stats Stats + Version string + func LoadBaseline(path string) (*Baseline, error) + func Parse(text string) (*Baseline, error) + type Change int + const Added + const Changed + const Removed + func (c Change) String() string + type Delta struct + Key string + Kind Change + NewPlan string + NewShape []string + OldPlan string + OldShape []string + RecoveredFromError bool + RegressedToError bool + SQL string + ShapeChanged bool + type DiffReport struct + Deltas []Delta + Mispaired int + Recoveries int + Regressions int + Same int + ShapeFlips int + TotalNew int + TotalOld int + func Diff(oldEntries, newEntries []Entry) DiffReport + func (r DiffReport) Clean() bool + type Entry struct + ErrorPin string + File string + Index int + Plan string + SQL string + Shape []string + func (e Entry) Failed() bool + func (e Entry) Key() string + func (e Entry) Panicked() bool + func (e Entry) UnexpectedlyFailed() bool + type Stats struct + DML int + Files int + NonQuery int + PlanErrors int + Queries int + UnexpectedErrors int + func GenerateBaseline(dir string) (string, Stats, error) + func GenerateBaselineWithReachability(dir string, reach *cascades.ReachabilityCollector) (string, Stats, error)