/go-usecases

A simple golang app that implements simple use cases.

Primary LanguageGo

go-usecases

A simple golang app that implements simple orders use cases.

Requirements

To run this this project, you'll need to have installed:

How to setup the project

This command will create the local database called orders.sqlite and install the git hooks.

make setup

Project overview

This project was build based in a series of three videos from and event called go intensivo, here are the videos if you want to watch them:

Project diagram

sequenceDiagram
Producer->>Consumer: Produce use case messages
loop Consume messages
    Consumer->>Consumer: Process use cases
end
Note right of Producer: Messages sent thought rabbitmq queue!
Consumer->>Sqlite Database: Persist processed data!
Loading

How to run tests

make tests

How to run the project

make run