Domain Driven Design in Go: Entities

Where Value Objects represent pieces of immutable data without an identity, entities represent identifiable elements within our systems. Entities generally have a lifecycle. They can be created, oftentimes deleted and are expected to be mutated during their lifespan.

Dennis Vis
May 8 2023
9 min read

Domain Driven Design in Go: Value Objects

In an ideal world non-technical colleagues would be able to read our code and quickly recognise the concepts, rules and processes that make up the business. We might never reach such an ideal but I’d argue we should strive for it nonetheless. Value Objects offer one way of getting us closer to that ideal situation.

Dennis Vis
May 4 2023
10 min read