From 06f709a04acc6d5ba0ba181129e9ee93ed20f311 Mon Sep 17 00:00:00 2001
From: "Bryan C. Mills"
+ 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.
-
-- 2.52.0