~/talk

Project layout patterns in Go

Talkat GoLab 2018 · 2018-10-22..10-23· [go, software-architecture]
slides:none on file

70k lines of Go, 10 full time engineers and ~15–20 external contributors across 11 teams drive a single cross‑platform agent that must be packaged and shipped. Project uses pkg for reusable packages and cmd for entry points, keeps docs and Dockerfiles in-repo, groups integration and end-to-end tests under /tests, and favors simple, CI-used tooling (make or Go-native Task/Pinebrook) with the ability to bypass tools. Packaging uses Chef Omnibus and Docker; layout prevents pkg → cmd imports and reduces later refactor cost.

AI-written summary · about

  1. 0:00Project context and goals
  2. 1:47Learning from other projects
  3. 3:32Trade-offs in project layout
  4. 5:33Best practices for project structure
  5. 7:29Implementing CMD and PKG
  6. 9:38Framework and program rules
  7. 12:03Developing robust build tooling
  8. 14:15Choosing the right task runner
  9. 17:12Structuring tests and benchmarks
  10. 19:33Integrating documentation
  11. 21:58Packaging and distribution
  12. 24:33Q&A and practical walkthrough
~/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.