gRPC Microservice Structure in Go! (DDD and Hexagonal Architecture Example)

Опубликовано: 15 Июль 2026
на канале: samvcodes
6,377
170

Open source Github repo: https://github.com/samverrall/microse...

In this video, I show an opinionated example of how you may structure a gRPC microservice in Golang. I discuss the advantages such from hexagonal architecture such as application layers, read and write repositories and the benefits of keeping your application logic outside of your transport layers.

The video does not showcase production-ready code but should give you a good idea of an approach you could take when implementing a microservice in Golang.

I took a lot of inspiration from the following repository https://github.com/polyscone/tofu from @Polyscone when implementing this example microservice - check the repository!

Twitter:   / samvcodes  
Github: https://github.com/samverrall