File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,17 @@ <h3 id="modules">Modules</h3>
169
169
170
170
< h4 id ="proxy-vars "> Environment variables</ h4 >
171
171
172
+ < p > <!-- CL 176580 -->
173
+ The < a href ="/cmd/go/#hdr-Module_support "> < code > GO111MODULE</ code > </ a >
174
+ environment variable continues to default to < code > auto</ code > , but
175
+ the < code > auto</ code > setting now activates the module-aware mode of
176
+ the < code > go</ code > command whenever the current working directory contains,
177
+ or is below a directory containing, a < code > go.mod</ code > file — even if the
178
+ current directory is within < code > GOPATH/src</ code > . This change simplifies
179
+ the migration of existing code within < code > GOPATH/src</ code > and the ongoing
180
+ maintenance of module-aware packages alongside non-module-aware importers.
181
+ </ p >
182
+
172
183
< p > <!-- CL 181719 -->
173
184
The new
174
185
< a href ="/cmd/go/#hdr-Module_configuration_for_non_public_modules "> < code > GOPRIVATE</ code > </ a >
You can’t perform that action at this time.
0 commit comments