Skip to content

atcheri/tavern-ddd-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let's GO to a Tavern in DDD (golang based project)

Overview

A small project in go that aims to use clean-architecture and domain-driven-design (DDD).

Install dependencies

$ go mod tidy

Run the app

$ go run ./cmd/main.go

Run the tests

$ go test ./...

Project structure

├── README.md
├── cmd
│   └── main.go
├── domain
│   ├── billing
│   ├── customer
│   │   ├── customer.go
│   │   ├── customer_test.go
│   │   └── repository.go
│   └── product
│       ├── product.go
│       ├── product_test.go
│       └── repository.go
├── entity
│   ├── item.go
│   └── person.go
├── go.mod
├── go.sum
├── infrastructure
│   ├── db
│   │   └── memory
│   │       ├── customer
│   │       │   ├── memory.go
│   │       │   └── memory_test.go
│   │       └── product
│   │           ├── memory.go
│   │           └── memory_test.go
│   └── sender
│       └── log_sender.go
├── services
│   ├── billing_service.go
│   ├── billing_service_test.go
│   ├── order_service.go
│   ├── order_service_test.go
│   ├── tavern_service.go
│   └── tavern_service_test.go
└── valueobject
    └── transaction.go

What is this project using

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages