~/talk

Writing idiomatic Go using Domain Driven Design

slides:none on file

Claims that Domain‑Driven Design can be applied idiomatically in Go without forcing an OOP style, and demonstrates concrete techniques: use packages as bounded contexts, split events by domain, add an anti‑corruption layer or small pubsub translator to avoid package imports, and prefer value type (immutable, validated Title) and repository pattern interfaces near aggregates with DB implementations under internal. Shows factory functions, unexported fields, and error constants for comparisons; argues these choices make testing, DB migration, and decoupling practical even though Go cannot guarantee an always‑valid type.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:34From PHP to Go and DDD
  3. 8:10Bounded context in Go packages
  4. 15:10Tactical DDD patterns in Go
  5. 22:53Value types in Go
  6. 27:49Repository pattern in Go
  7. 32:21Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.