1
0
mirror of https://github.com/golang/go synced 2024-11-17 01:54:53 -07:00

src/README.vendor: s/latest/master/

Update the README to specify the module query "@master" instead of
"@latest".

Vendoring the highest tagged version is unlikely to be right. Usually
one wants to vendor the module at HEAD.

Change-Id: Id00d23523a13fd3dcd73d6eacefdf50bcdbfa26e
Reviewed-on: https://go-review.googlesource.com/c/go/+/508823
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
This commit is contained in:
Jonathan Amsterdam 2023-07-11 17:12:33 -04:00
parent 3eaee3d5dd
commit af8f94e3c5

View File

@ -38,7 +38,7 @@ The vendor directory may be updated with 'go mod vendor'.
A typical sequence might be:
cd src
go get golang.org/x/net@latest
go get golang.org/x/net@master
go mod tidy
go mod vendor