Skip to content

A webservice implementation using Golang and strictly following the clean architecture

License

Notifications You must be signed in to change notification settings

CanobbioE/strict-clean-arch-go-webservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean Architecture Template for Golang webservices

A webservice implementation using Golang and strictly following the clean architecture.

The clean architecture visualised:

clean architecture

The folder structure matches the rings in the above diagram. Starting from the innermost ring:

  • The domain folder contains the Enterprise Business Rules - i.e. entities
  • The usecase folder contains the Application Business Rules - i.e. data manipulation
  • The interface folder contains the Interface Adapters - i.e. input/output transformation
  • The infrastructure folder contains the Frameworks and Drivers - i.e. protocol-specific implementations

TODO

  • Add unit tests
  • Add Docker
  • Add CI/CD
  • Add integration tests

About

A webservice implementation using Golang and strictly following the clean architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages