Skip to content

Commit e684129

Browse files
author
Jay Conrod
committed
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 <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 145e193 commit e684129

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/README.vendor

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ The vendor directory may be updated with 'go mod vendor'.
4141
A typical sequence might be:
4242

4343
cd src
44-
go get -m golang.org/x/net@latest
44+
go get -d golang.org/x/net@latest
4545
go mod tidy
4646
go mod vendor
4747

4848
Use caution when passing '-u' to 'go get'. The '-u' flag updates
49-
modules providing all transitively imported packages, not just
50-
the target module.
49+
modules providing all transitively imported packages, not only
50+
the module providing the target package.
5151

5252
Note that 'go mod vendor' only copies packages that are transitively
5353
imported by packages in the current module. If a new package is needed,

0 commit comments

Comments
 (0)