Skip to content

v0.5.0

Choose a tag to compare

@eularix eularix released this 22 Jun 06:11
· 5 commits to main since this release

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