go-point-of-sales

module
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: Apache-2.0

README

Background

DDD (Domain-Driven Design) has recently become a hot topic in software development, especially in the era of microservices like today. This is due to the need to be able to divide our business problems into services that are in accordance with their designation, so, that we benefit from the microservice itself. However, the implementation of DDD, especially in the tactical sector, is still a challenge in the Golang programming language.

A few days ago, I read an article that I thought might be the answer for implementing DDD in GO. The article was written by a Three Dots Labs the author of the famous watermill library. Therefore, in this repository I tried to adopt the concept of DDD from the article as well as several other sources to the point of sales case.

Inspiration Sources

This repository is highly inspired by some sources bellow:

** note: Feel free to give a feedback about how I implement the concept from those articles.

Directories

Path Synopsis
cmd
internal
common/client/categorywebclient
Package categorywebclient provides primitives to interact the openapi HTTP API.
Package categorywebclient provides primitives to interact the openapi HTTP API.
common/client/productwebclient
Package productwebclient provides primitives to interact the openapi HTTP API.
Package productwebclient provides primitives to interact the openapi HTTP API.
library/app/command/mock/mockcategory
Package mockcategory is a generated GoMock package.
Package mockcategory is a generated GoMock package.
library/app/command/mock/mockproduct
Package mockproduct is a generated GoMock package.
Package mockproduct is a generated GoMock package.
library/port/web/categoryweb
Package categoryweb provides primitives to interact the openapi HTTP API.
Package categoryweb provides primitives to interact the openapi HTTP API.
library/port/web/productweb
Package productweb provides primitives to interact the openapi HTTP API.
Package productweb provides primitives to interact the openapi HTTP API.

Jump to

Keyboard shortcuts

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