Slide 14
Slide 14 text
Workspace mode
It ain’t much, but it’s honest go work
• A new, optional go.work
f
ile has been introduced: if present, it will set Go
in Workspace Mode.
• When in Workspace Mode, go will use the go.work
f
ile to determine all
the modules to use as roots for module resolution, as opposed to having a
single one as imposed by go.mod
• Such Mode allows for work on multiple, independent modules at the same
time more conveniently than it was in the past