go-arch-lint

A command-line linter that checks Go project dependencies against architecture rules declared in YAML.

By The go-arch-lint contributors

Alternatives

About go-arch-lint

go-arch-lint checks package dependencies in a Go project against declared architecture rules, such as layers in an onion or clean architecture. It reports violations and can help teams track and gradually address existing architecture issues.

Projects define their intended structure in a YAML configuration file. The linter can run locally or as part of a CI workflow.

Strengths

  • Checks package dependencies against declared architecture rules
  • Supports common layered architecture patterns
  • Can run in CI workflows

Limitations

  • Focused on Go projects
  • Requires a YAML configuration describing the intended architecture

Details

Pricing
FreeFree and open source under the MIT license.
License
MIT
Developer
The go-arch-lint contributors
Platforms
Command line
How it runs
Downloadable app
Best suited for
Go teams enforcing package boundaries and architecture rules
Last verified
Added
Provenance
Selected from the Homebrew formula

Report a wrong fact or a dead link on this listing