File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,15 @@ <h3 id="go-command">Go command</h3>
82
82
83
83
< h4 id ="modules "> Modules</ h4 >
84
84
85
+ < p > <!-- golang.org/issue/40728 -->
86
+ Build commands like < code > go</ code > < code > build</ code > and < code > go</ code >
87
+ < code > test</ code > no longer modify < code > go.mod</ code > and < code > go.sum</ code >
88
+ by default. Instead, they report an error if a module requirement or checksum
89
+ needs to be added or updated (as if the < code > -mod=readonly</ code > flag were
90
+ used). Module requirements and sums may be adjusted with < code > go</ code >
91
+ < code > mod</ code > < code > tidy</ code > or < code > go</ code > < code > get</ code > .
92
+ </ p >
93
+
85
94
< p > <!-- golang.org/issue/40276 -->
86
95
< code > go</ code > < code > install</ code > now accepts arguments with
87
96
version suffixes (for example, < code > go</ code > < code > install</ code >
You can’t perform that action at this time.
0 commit comments