v0.5.0
Architecture linting.
Options.LintLayers flags arch smells on call edges:
- reverse dependency — a call backward toward the entry (e.g.
repository -> service), - skip-layer — a controller reaching a repository directly, bypassing the service,
- cross-module — a call into another module's internals.
Flagged edges render red with a ⚠ N issues count in the header. Off by default.
archview.New(archview.Options{ Root: ".", LintLayers: true })go get github.com/eularixs/archview@v0.5.0