Skip to content

This is my purpose of how to structure a web application in golang following the clean architecture principles

License

Notifications You must be signed in to change notification settings

hdlopez/clean-architecture-golang

Repository files navigation

Go

Clean Architecture in Go

This is my humble version of how to structure a GO application.

Link to my article (currently only in spanish) about "How to structure a Go Application".

In order to demonstrate my idea with a simple example application, I created this API which handles messages.

Frameworks

The example uses the following frameworks:

Run

Clone the repository and execute the following command on the root folder

go run main.go

Test

go test ./...

Backlog

This is a work in progress. There's still a lot of work to do. PRs are welcome :)

  • Add (a LOT) of unit tests
  • Use Context type to pass parameters across different layers
  • Add an example of database handler module

About

This is my purpose of how to structure a web application in golang following the clean architecture principles

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages