Skip to content

josephspurrier/gocleanarchitecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clean Architecture in Go

Go Report Card GoDoc Coverage Status

A good example of clean architecture for a web application in Go.

The domain folder is for enterprise business logic without any dependencies. These can be structs, interfaces, and functions.

There is no usecase folder, but if there was one, it would hold the application business logic without any dependencies with the exception of the domain. These can be structs, interfaces, and functions.

The adapter folder should contain abstractions for the packages in the lib and vendor folders.

The lib folder contains internal packages, similar to the vendor folder which contains 3rd party packages.

About

Example web application using clean architecture in Go.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages