go_boilerplate
Golang boilerplate
godockergolangboilerplatedocker-composedddclean-architecturegolang-applicationddd-architecturego-templatego-testing
FreeRepo
Overview
This Go boilerplate provides a structured foundation for building API projects using Domain-Driven Design and Clean Architecture principles. The core stack includes Go with the Echo framework, MySQL for databases and Redis for caching, organized into distinct layers (domain, application, transport and infrastructure) that enforce strict dependency rules to keep business logic isolated from external concerns.
Features
domain-driven-designclean-architecturedependency-injectionapi-documentationdocker-composeunit-testingintegration-testingmockingdatabase-migrationsconfiguration-management
Feature Flags
blogpaymentsapiDocscachingtestingdockerci
Recommended Use Cases
api-developmentmicroservicesscalable-applicationsmaintainable-codebases
Frontend
None
Backend
goechomysqlredis
Auth Providers
None
Deployment Targets
docker
Payment Providers
None
Quick Facts
โญ Stars
34
๐ด Forks
1
๐ Active
Yes
๐ Last Commit
2025-10-08T03:54:54.000Z
GitHub
Stack
Language
go
Database
mysql
Testing
testcontainers
Monitoring
prometheus
CI
github-actions
Data Layer
Databases
mysql, redis
UI Stack
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
github-actions
Pricing
Classification
free
Selected
โ
Notes
Open source boilerplate