// build code that will be linked against shared libraries previously
// created with -buildmode=shared.
// -mod mode
-// module download mode to use: readonly or vendor.
+// module download mode to use: readonly, vendor, or mod.
// See 'go help modules' for more.
// -modcacherw
// leave newly-created directories in the module cache read-write
// directory holds the correct copies of dependencies and ignores
// the dependency descriptions in go.mod.
//
+// If invoked with -mod=mod, the go command loads modules from the module cache
+// even if there is a vendor directory present.
+//
// Pseudo-versions
//
// The go.mod file and the go command more generally use semantic versions as
directory holds the correct copies of dependencies and ignores
the dependency descriptions in go.mod.
+If invoked with -mod=mod, the go command loads modules from the module cache
+even if there is a vendor directory present.
+
Pseudo-versions
The go.mod file and the go command more generally use semantic versions as
build code that will be linked against shared libraries previously
created with -buildmode=shared.
-mod mode
- module download mode to use: readonly or vendor.
+ module download mode to use: readonly, vendor, or mod.
See 'go help modules' for more.
-modcacherw
leave newly-created directories in the module cache read-write