aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2018-07-19 00:56:10 -0400
committerRuss Cox <rsc@golang.org>2018-07-19 18:46:29 +0000
commitca642bb326c9eccd880f242c76f1e494d98efbc0 (patch)
treeade9a0d653e61e96c9b7db20a46dc60a868dd7b1 /src/syscall
parentceca60228205652c0791d649368dd8e550073810 (diff)
downloadgo-ca642bb326c9eccd880f242c76f1e494d98efbc0.tar.xz
cmd/go: warn about non-use of go.mod in legacy go get
It's important for a smooth transition for non-module users not to change operation in GOPATH/src by default in Go 1.11, even if go.mod exists in a downloaded dependency. Even so, users create go.mod and then are confused about why 'go get' commands seem to behave oddly, when in fact they are getting the old 'go get'. Try to split the difference by printing a warning in 'go get' when run in a tree that would normally be considered a module if only it were outside GOPATH/src. Change-Id: I55a1cbef127f3f36de54a8d7b93e1fc64bf0a708 Reviewed-on: https://go-review.googlesource.com/124859 Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions