docaudit

package
v0.1.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auditor

type Auditor struct {
	// contains filtered or unexported fields
}

Auditor checks for documentation drift in a repository.

func New

func New(repoRoot string) *Auditor

New creates an Auditor rooted at the given repository path.

func (*Auditor) Run

func (a *Auditor) Run() ([]Finding, error)

Run executes all documentation checks and returns findings.

type Finding

type Finding struct {
	File     string
	Line     int
	Severity Severity
	Message  string
}

Finding represents a single documentation drift issue.

type Severity

type Severity string

Severity indicates the importance of a finding.

const (
	SeverityError   Severity = "error"
	SeverityWarning Severity = "warning"
	SeverityInfo    Severity = "info"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL