archcheck

command
v0.0.0-...-251f90f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Command archcheck validates architecture boundaries in Go projects.

It runs multiple checks:

  • go-arch-lint for component dependency rules
  • Data ownership validation (Single Writer Rule)
  • Layer violation detection (domain/infra boundaries)
  • Interface boundary checks
  • Dependency graph analysis (cycles, deep chains)
  • Handler isolation (e.g., MCP tools don't import each other)
  • Configuration coverage validation

Usage:

archcheck                         # human-readable output
archcheck -format=check           # lintkit-check JSON
archcheck -format=sarif           # SARIF JSON
archcheck -config=.go-arch-lint.yml
archcheck -module=github.com/org/repo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL