clean-architecture-golang

command module
v0.0.0-...-0ffacd7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2023 License: MIT Imports: 4 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL