• Russ Cox's avatar
    cmd/go: warn about non-use of go.mod in legacy go get · ca642bb3
    Russ Cox authored
    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/124859Reviewed-by: 's avatarBryan C. Mills <bcmills@google.com>
    ca642bb3
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...