golang-clean-architecture
implementation clean architecture with SOLID Principles
goboilerplateclean-codeclean-architecturehacktoberfesttutorial-codesolid-principalshacktoberfest2024hacktoberfest2025
Overview
This is a Go project template implementing Clean Architecture and SOLID design principles for building maintainable backend applications. It provides a layered structure with controllers, use cases, entities and repositories, includes database transaction handling, RESTful API endpoints with pagination and sorting, caching strategies, table-driven tests and uses Echo as the web framework with MySQL for data storage.
Features
clean-architecturesolid-principleslayered-architecturerestful-apidatabase-migrationserver-side-cachinggraceful-shutdownhealth-checkpaginationsortingmockingdatabase-transactions
Feature Flags
authenticationsubscriptionsblogteamsOrgscachingformsValidation
Recommended Use Cases
backend-api-developmentlearning-clean-architecturelearning-solid-principlesgolang-projectsrest-api-implementation
Frontend
None
Backend
goecho
Auth Providers
None
Deployment Targets
docker
Payment Providers
None
Quick Facts
โญ Stars
291
๐ด Forks
29
๐งพ License
MIT
๐ Active
Yes
๐ Last Commit
2025-10-24T20:31:06.000Z
Stack
Language
go
Testing
table-driven-tests
Data Layer
Databases
mysql, mongodb
UI Stack
Developer Experience
Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
No
Pricing
Classification
free
Selected
โ
Notes
Open source project licensed under MIT
