Examples for my talk on structuring Go apps.
Note: I created an updated version of this repo here! These talks are 3+ years old now and I've changed my opinion on some of this stuff since then, so don't treat them as gospel. 🙂
Links to video and slides:
Note: these talks refer to release (git tag) v1.0 of this repository.
Older versions of this talk:
How to run
Pick the example (directory) you want to run, then run main.go:
go run main.go or
go run cmd/beer-server/main.go
Release v1.0 notes
Not all examples will compile. Only the flat, domain, domain-hex and domain-hex-actor will compile. For more information about why that is, please refer to the talk.