Skip to content

chiguirez/go-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published