Skip to content

katzien/go-structure-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

2018-09-28 GoWayFest 2.0 video | slides

2018-09-19 London Gophers video | slides

2018-08-28 GopherCon 2018 video | slides

Older versions of this talk:

2018-06-02 GopherCon EU video | slides

2018-06-02 GopherCon UK video | slides

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.