adr

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 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 DiscoveredDoc

type DiscoveredDoc struct {
	Path       string
	Content    string
	SourceHash string
}

DiscoveredDoc represents a discovered architecture document

type Discoverer

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

Discoverer finds and reads architecture decision records in a repository

func NewDiscoverer

func NewDiscoverer(repoRoot string) *Discoverer

NewDiscoverer creates a new ADR discoverer for the given repo root

func (*Discoverer) Discover

func (d *Discoverer) Discover() ([]DiscoveredDoc, error)

Discover walks the repository looking for architecture documents. It checks known file names at the root and known directories for .md files.

Jump to

Keyboard shortcuts

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