Versions in this module Expand all Collapse all v0 v0.3.9 Aug 21, 2026 Changes in this version + func SaveGraph(repoRoot string, g *Graph) error + func ValidateTarget(t *Target) []string + type Assignment struct + Domain string + Path string + type Contract struct + Entries []string + From string + Interfaces []string + LegacyBudget int + To string type Diff + ImplementsAdded []Edge + ImplementsDeleted []Edge + type Finding struct + Detail string + Edge *Edge + From string + Kind string + To string type Graph + Implements []Edge + func Absorb(g *Graph, d *Diff) *Graph + type Report struct + Fails []Finding + LegacyHits map[string]int + Warns []Finding + func Check(t *Target, v *View) *Report + type Target struct + Assembly []string + Assignments []Assignment + Contracts []Contract + Domains []TargetDomain + Meta TargetMeta + func LoadTarget(repoRoot string) (*Target, error) + func (t *Target) DomainOf(file string) string + type TargetDomain struct + ID string + Name string + Note string + Paths []string + Type string + type TargetMeta struct + Project string + Version int type View + Implements []ViewEdge v0.3.8 Aug 21, 2026 v0.3.7 Aug 21, 2026 v0.3.6 Aug 21, 2026 Changes in this version + func ListViews(repoRoot string) ([]string, error) + func Resolve(v *View, arg string) (string, error) + func Validate(g *Graph) []string + func ValidateDiff(g *Graph, d *Diff) []string + type Container struct + Domain string + Entry bool + Kind string + Label string + type Diff struct + Base string + EdgesAdded []Edge + EdgesDeleted []Edge + NodesAdded map[string]Node + NodesDeleted []string + NodesModified map[string]Node + Summary string + View string + func LoadDiff(repoRoot, view string) (*Diff, error) + type Domain struct + Desc string + Kind string + Label string + Parent string + Summary string + type DomainStat struct + Children []string + Containers []string + Desc string + Entries int + Funcs int + ID string + Interfaces []string + Kind string + Label string + Models int + Parent string + Summary string + Unscanned int + func DomainTree(v *View) []DomainStat + type Edge [2]string + type Graph struct + Containers map[string]Container + Domains map[string]Domain + Edges []Edge + Meta Meta + Nodes map[string]Node + func LoadGraph(repoRoot string) (*Graph, error) + type Meta struct + Branch string + Commit string + Generator string + Project string + ScannedAt string + type Node struct + Container string + Fields [][]string + File string + Kind string + Line int + Name string + Order int + Params [][]string + Returns string + Signature string + SignatureOld string + Summary string + Tests []TestRef + Unscanned bool + type Result struct + Edges []ViewEdge + Foci []string + Nodes []ResultNode + UnscannedEntries int + View string + Warning string + func Neighborhood(v *View, foci []string, down, up int) (*Result, error) + type ResultNode struct + Dist int + ID string + type StaleNode struct + File string + ID string + Line int + Reason string + func CheckStale(repoRoot string, g *Graph) []StaleNode + type TestRef struct + File string + Name string + Snippet string + type View struct + Containers map[string]Container + Domains map[string]Domain + Edges []ViewEdge + Name string + Nodes map[string]ViewNode + func Merge(g *Graph, d *Diff) *View + type ViewEdge struct + From string + Status string + To string + type ViewNode struct + Status string