From: Bryan C. Mills Date: Wed, 26 Jun 2019 14:07:13 +0000 (-0400) Subject: doc/go1.13: move 'go get -t' paragraph to be adjacent to 'go get -u' changes X-Git-Tag: go1.13rc1~157 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=06f709a04acc6d5ba0ba181129e9ee93ed20f311;p=gostls13.git doc/go1.13: move 'go get -t' paragraph to be adjacent to 'go get -u' changes As suggested by thepudds in CL 183630. Also adjust the paragraph to harmonize the transitions between the newly-adjacent paragraphs. Change-Id: Ie85abea946db81804c1995d27be4951d5db6b812 Reviewed-on: https://go-review.googlesource.com/c/go/+/183918 Reviewed-by: Jay Conrod --- diff --git a/doc/go1.13.html b/doc/go1.13.html index 180fcc9499..261af12945 100644 --- a/doc/go1.13.html +++ b/doc/go1.13.html @@ -267,6 +267,17 @@ go env -w GOSUMDB=off the source code needed to build dependencies of the named packages.

+

+ By default, go get -u in module mode + upgrades only non-test dependencies, as in GOPATH mode. It now also accepts + the -t flag, which (as in GOPATH mode) + causes go get to include the packages imported + by tests of the packages named on the command line. If + the -t flag is set, the packages imported by tests will be + updated (if the -u flag is set), downloaded, and built (unless + the -d flag is set) along with the usual non-test packages. +

+

In module-aware mode, the go get subcommand now supports the version suffix @patch. The @patch @@ -277,16 +288,6 @@ go env -w GOSUMDB=off equivalent to the existing @latest suffix.

-

- Additionally, the go get subcommand now supports - the -t flag in module-aware mode. As in GOPATH mode, - the -t flag instructs go get to include - the packages imported by tests of the packages named on the command - line. If the -t flag is set, the packages imported by tests will - be updated (if the -u flag is set), downloaded, and built (unless - the -d flag is set) along with the usual non-test packages. -

-

Version validation