diff options
Diffstat (limited to 'libgo/go/cmd/go/internal/modload/help.go')
-rw-r--r-- | libgo/go/cmd/go/internal/modload/help.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/cmd/go/internal/modload/help.go b/libgo/go/cmd/go/internal/modload/help.go index 1927c1cff73..b47f3dedb37 100644 --- a/libgo/go/cmd/go/internal/modload/help.go +++ b/libgo/go/cmd/go/internal/modload/help.go @@ -179,6 +179,9 @@ If invoked with -mod=vendor, the go command assumes that the vendor 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 |