$ show sazardev/goca
Goca is a CLI tool for generating Go applications following Clean Architecture principles. It scaffolds complete projects with domain, usecase, repository, and handler layers, supporting multiple databases (PostgreSQL, MySQL, MongoDB, etc.) and protocols (HTTP, gRPC, CLI, worker). The tool includes safety mechanisms (dry-run, backup, force), dependency injection generation, middleware creation, and Model Context Protocol (MCP) integration for AI-assisted development. Its architecture emphasizes layer separation and dependency management, generating production-ready code with built-in validation, testing scaffolding, and CI/CD pipeline generation.
The LLM identified 2 files worth highlighting for reuse:
Provides safe file operations with dry-run, backup, and force flags. Isolated from core generation logic, making it reusable in other CLI tools that need to modify files safely.
Manages Go text templates for code generation, including template parsing, execution, and custom functions. Designed to be decoupled from specific templates, allowing reuse in other code generation projects.