~/talk

Module Magic: Multi Module Workspaces to the rescue

Talkat GopherCon UK 2022 · 2022-08-16..08-18· [developer-experience]
slides:none on file

Shows how to replace local replace directives with real workspaces so local edits in one module immediately affect dependents: run go work init listing modules, run services from the repo root with go run <module>, and test unpublished or experimental modules without committing or using replace. Workspace creates go.work and go.work.sum, and the workflow avoids fiddly go.mod replaces, simplifies multi-module testing, and warns not to commit go.work to the repo.

AI-written summary · about

  1. 0:00Intro
  2. 1:46Go Dependency Management
  3. 5:51Magic of Modules
  4. 7:47Dependent Modules
  5. 8:53Modify Dependent Module
  6. 10:50Test Dependent Module Approach I
  7. 13:33Challenges using go modules
  8. 23:04Getting started with workspaces
  9. 24:44Add a feature to an upstream module
  10. 26:22How go work manage dependencies?
  11. 27:33Experimenting with Unpublished Module
  12. 30:25Switching between dependency configurations
  13. 31:36When working with go.work
  14. 32:26Editor Experience Improvements
  15. 33:17Benefits Of Workspaces
~/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.