]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: don't print deprecation notice for 'go get exe'
authorJay Conrod <jayconrod@google.com>
Tue, 1 Dec 2020 18:51:17 +0000 (13:51 -0500)
committerJay Conrod <jayconrod@google.com>
Tue, 1 Dec 2020 20:11:50 +0000 (20:11 +0000)
commit933ce97bbae311b299d342c38df81165334cea37
treebdeaaf4f64c8453628a3264d950b09eb73e3a7f3
parent50b16f9de590822a04ec8d6cbac476366c1bde32
cmd/go: don't print deprecation notice for 'go get exe'

It's difficult for module authors to provide installation instructions
that work in both Go 1.15 and 1.16. We'll wait until 1.17 to print a
deprecation warning for installing executables with 'go get'.

Fixes #42885

Change-Id: I835b447e83e760f48fd664e8a117749e0cb59f83
Reviewed-on: https://go-review.googlesource.com/c/go/+/274552
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/go/internal/modget/get.go
src/cmd/go/testdata/script/mod_get_deprecate_install.txt [deleted file]