Versions in this module Expand all Collapse all v0 v0.7.2 Oct 20, 2026 v0.7.1 Oct 20, 2026 v0.7.0 Oct 20, 2026 Changes in this version + func BudgetVerdict(name, unit string, value float64, max *float64, maxRegressionPct float64, ...) (domain.QualityStatus, string) + func DefaultModes(rigor string) map[domain.QualityDimension]domain.QualityMode + func DocsChecks(in DocsInput) []domain.QualityCheck + func ExportedGoAPI(files map[string][]byte) (map[string]GoSymbol, error) + func ExtractMetric(metric, output string) (float64, error) + func FindReadme(paths []string) string + func GateUnmet(p Policy, results map[domain.QualityDimension]domain.QualityResult, ...) []string + func IsDocPath(p string) bool + func IsMigrationPath(p string) bool + func IsPublicGoPath(p string) bool + func IsSourcePath(p string) bool + func LooksLikeOpenAPI(content []byte) bool + func MentionedIn(it SurfaceItem, docs map[string]string) (string, bool) + func NormalizeRoute(r string) string + func OpsChecks(in OpsInput) []domain.QualityCheck + func Rollup(checks []domain.QualityCheck) domain.QualityStatus + func Summarize(checks []domain.QualityCheck) string + type APIChange struct + Breaking bool + Detail string + Kind string + Line int + Path string + Subject string + func DiffGoAPI(before, after map[string]GoSymbol) []APIChange + func DiffOpenAPI(beforePath string, before []byte, afterPath string, after []byte) ([]APIChange, error) + type ChangedFile struct + After string + AfterExists bool + Before string + BeforeExists bool + BeforeKnown bool + Path string + type DocsInput struct + Changed []ChangedFile + Docs map[string]string + GoAdded []GoSymbol + OpenAPIAdded []OpenAPIOperation + Paths []string + type GoSymbol struct + Documented bool + Key string + Kind string + Line int + Name string + Path string + Sig string + type Heading struct + Line int + Text string + func Headings(text string) []Heading + type OpenAPIOperation struct + Described bool + Line int + Method string + Route string + SpecPath string + func OpenAPIOperations(specPath string, content []byte) []OpenAPIOperation + type OpsInput struct + Changed []ChangedFile + Files map[string]string + type Policy struct + Modes map[domain.QualityDimension]domain.QualityMode + Overridden []domain.QualityDimension + Rigor string + func ResolvePolicy(rigor string, overrides map[string]string) Policy + func (p Policy) Enabled() bool + type SetupCommand struct + Cmd string + Line int + Path string + Skip string + func MakefileCommands(makefile string) []SetupCommand + func ReadmeCommands(readmePath, text string, dirExists func(string) bool) []SetupCommand + func (c SetupCommand) Source() string + type SurfaceItem struct + Kind string + Line int + Name string + Path string + func AddedSurface(before, after []SurfaceItem) []SurfaceItem + func SurfaceItems(path, content string) []SurfaceItem