mirror of
https://github.com/golang/go
synced 2024-11-23 23:20:08 -07:00
856b57e0d4
The most common failure mode of the current std/cmd setup is going to be people running "go get m@latest" and then not running "go mod vendor" and being confused about getting the old m. Diagnose and report what to do. Also, having done the check, when in the standard library, switch the go command to -mod=vendor mode. This avoids some network accesses I saw when running 'go clean -modcache' before doing some work in cmd. Change-Id: I0ba4a66637b67225a9b97a1c89f26f9015b41673 Reviewed-on: https://go-review.googlesource.com/c/go/+/174528 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
11 lines
245 B
Modula-2
11 lines
245 B
Modula-2
module std
|
|
|
|
go 1.12
|
|
|
|
require (
|
|
golang.org/x/crypto v0.0.0-20190424203555-c05e17bb3b2d
|
|
golang.org/x/net v0.0.0-20190424112056-4829fb13d2c6
|
|
golang.org/x/sys v0.0.0-20190425145619-16072639606e // indirect
|
|
golang.org/x/text v0.3.2 // indirect
|
|
)
|