~/talk

Multi-Module Repositories

Talkat dotGo 2019 · on Monday, 2019-03-25· [go]
slides:none on file

Shows that Go’s MVS uses the max rule of MVS (choose the highest major/minor) and that carving multiple go.mod files from one repo creates an ambiguous import when a package is provided by both a pre‑carve tag (v1.0.3) and a new submodule. Demonstrates tooling steps: go mod init, go mod tidy, tag with both the repo tag and a submodule tag and add a fake dependency to v1.1.0 so MVS bumps users to the safe tag; the workaround relies on MVS and does work in practice.

AI-written summary · about

  1. 0:00Start
  2. 1:45What What Are Modules
  3. 5:41Multi Module Repository
  4. 7:06Rules for Modules
  5. 8:34Adding a Module
  6. 9:15Specify Version
  7. 10:11Error Ambiguous Import
~/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.