chiguirez / go-skeleton

An skeleton to create go microservices using the chiguirez ecosystem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Architectural notes

  • Hexagonal architecture:
    • The root of the internal package is the domain layer. Each aggregate (value objects and entities) could be a different package here
    • Application layer is formed by the different packages referring to some action or service in each aggregate, like creator or reader for example.
      • Commands and query services should live here
    • Any other package refers to the infrastructure implementation of the domain, like storage or messaging
    • IO is outside the internal package
  • Dependency injection with google wire
  • Command bus.
  • Snout

Prerequisites

the following shows the commands

> make help

usage: make <command>

commands:
    install              - get the modules
    test                 - run all tests
    run                  - execute

to install the modules

> make install

Running

let

> make run

Testing

to execute the tests

> make test

Authors

About

An skeleton to create go microservices using the chiguirez ecosystem


Languages

Language:Go 86.1%Language:Makefile 13.9%