package
Version:
v0.70.1
Opens a new window with list of versions in this module.
Published: Jul 23, 2026
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package architecture checks the repository's component dependency contract.
type Edge struct{ From, To, Kind string }
type Exception struct {
ID string `json:"id"`
From string `json:"from"`
To string `json:"to"`
Kind string `json:"kind"`
Owner string `json:"owner"`
Reason string `json:"reason"`
Expires string `json:"expires"`
}
type Manifest struct {
Version int `json:"version"`
Module string `json:"module"`
Categories []string `json:"categories"`
Packages map[string]string `json:"packages"`
Rules []Rule `json:"rules"`
Exceptions []Exception `json:"exceptions"`
DefaultRemediation string `json:"default_remediation"`
}
type Violation struct {
Edge Edge
Rule, Remediation, Exception string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.