I built boGO (Boilerplate of Obviously GOlang), a CLI tool that generates clean, production-grade Go projects using a Hexagonal Architecture.
The goal is to make bootstrapping Go backend projects easier, more consistent, and aligned with best practices in domain-driven design.
Key features:
Generates opinionated folder structures and code layout instantly
Enforces separation of concerns (domain, usecase, infra, handler)
Supports PostgreSQL out of the box
Cleanly integrates with Go modules
Easy to extend or customize for your own team conventions
I originally built this to help my team standardize internal service setups and reduce boilerplate fatigue, and now I’m open-sourcing it for others who might face the same.
GitHub: https://github.com/RizkiAnurka/boGO
Feedback, suggestions, or PRs are very welcome. Would love to hear how other Go teams approach structure generation and scaffolding.