Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

go-structure-examples

> 编程语言
Open source

Examples for my talk on structuring go apps

2.4K stars0 likes1 views
WebsiteGitHub

About

Examples for my talk on structuring go apps

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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Go

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言