diff options
author | Jay Conrod <jayconrod@google.com> | 2019-08-23 15:24:26 -0400 |
---|---|---|
committer | Jay Conrod <jayconrod@google.com> | 2019-08-23 21:07:49 +0000 |
commit | e68412984e644256ca3cdd6d6687ed0ce71ab2a6 (patch) | |
tree | 1b709ab137372b770b875d28cc21704b5df17fb4 /src/README.vendor | |
parent | 145e193131eb486077b66009beb051aba07c52a5 (diff) | |
download | go-e68412984e644256ca3cdd6d6687ed0ce71ab2a6.tar.gz go-e68412984e644256ca3cdd6d6687ed0ce71ab2a6.zip |
all: update 'go get' command in standard library README.vendor
The -m flag is removed in Go 1.13. -d should be used instead.
Change-Id: Ia53764748309f16cb231e5ac6770400a73804484
Reviewed-on: https://go-review.googlesource.com/c/go/+/191621
Run-TryBot: Jay Conrod <jayconrod@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/README.vendor')
-rw-r--r-- | src/README.vendor | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/README.vendor b/src/README.vendor index c80265344e..e74fc2f316 100644 --- a/src/README.vendor +++ b/src/README.vendor @@ -41,13 +41,13 @@ The vendor directory may be updated with 'go mod vendor'. A typical sequence might be: cd src - go get -m golang.org/x/net@latest + go get -d golang.org/x/net@latest go mod tidy go mod vendor Use caution when passing '-u' to 'go get'. The '-u' flag updates -modules providing all transitively imported packages, not just -the target module. +modules providing all transitively imported packages, not only +the module providing the target package. Note that 'go mod vendor' only copies packages that are transitively imported by packages in the current module. If a new package is needed, |