Package goarchtest provides a fluent API for testing architectural constraints in Go applications. GoArchTest helps enforce architectural boundaries that Go's compiler cannot check. While Go prevents circular imports, it allows architectural violations like inner layers depending on outer layers. GoArchTest bridges this gap by providing executable architectural tests. Add architectural tests to your Go test files: GoArchTest supports several predefined architecture patterns: The predicate system allows flexible filtering and testing of types: ## Type Filters ## Dependency Analysis ## Logical Operators Create custom rules for specific architectural constraints: Generate reports and visualizations of your architecture: ## Clean Architecture Validation ## Service Layer Validation ## Naming Convention Validation Include architectural tests in your continuous integration: GoArchTest is perfect for: While Go's compiler prevents circular imports (A→B→A), it allows architectural violations: GoArchTest bridges the gap between what Go's compiler enforces and what good software architecture requires. For more examples and detailed documentation, visit: https://github.com/solrac97gr/goarchtest Package goarchtest provides a fluent API for testing architectural constraints in Go applications. GoArchTest helps enforce architectural boundaries that Go's compiler cannot check. While Go prevents circular imports, it allows architectural violations like inner layers depending on outer layers. GoArchTest bridges this gap by providing executable architectural tests. Add architectural tests to your Go test files: GoArchTest supports predefined architecture patterns: Create custom predicates for specific architectural rules: - Clean Architecture - Hexagonal Architecture - Layered Architecture - MVC Architecture - DDD with Clean Architecture - CQRS Architecture - Event Sourced CQRS Architecture For more examples and documentation, visit: https://github.com/solrac97gr/goarchtest