Jul 21, 2026Goca - Go Clean Architecture Code Generator
The idea is simple: less manual work with layers, DTOs, repositories, handlers, and DI, and more time for business logic.
What it can do:
- goca init — creates a project structure
- goca feature — generates a feature layer by layer
- goca entity — creates domain entities
- goca usecase — generates application services and DTOs
- goca repository — adds a storage layer
- goca handler — makes HTTP/gRPC/CLI adapters
- goca di — collects dependency injection
There is a dry-run, protection against file overwriting, backup before overwrite, name conflict checking, and auto-update of go.mod.