Golang REST API - Clean Architecture Principles
- Independent of Frameworks. The architecture does not depend on the existence of some library of feature laden software.
- Testable. The business rules can be tested without the UI, Database, Web Server, or any other external element.
- Independent of UI. The UI can change easily, without changing the rest of the system.
- Independent of Database. You can swap out Oracle or SQL Server, for Mongo, BigTable, CouchDB, or something else.
docker image build -t yourname/gocleanarch .
docker run -p 8000:8000 -d yourname/gocleanarch
Localhost