From b21c837008a398fe23f06741946cf39e52dfdfa7 Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Wed, 26 Jun 2019 13:16:50 -0400 Subject: [PATCH] doc/go1.13: describe the change in behavior of GO111MODULE=auto Updates #31857 Change-Id: Id0dc66246f768a2c730c67cd7a4a7830547f22a8 Reviewed-on: https://go-review.googlesource.com/c/go/+/183922 Run-TryBot: Bryan C. Mills Reviewed-by: Jay Conrod Reviewed-by: Katie Hockman --- doc/go1.13.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/go1.13.html b/doc/go1.13.html index f9a6c5b710..180fcc9499 100644 --- a/doc/go1.13.html +++ b/doc/go1.13.html @@ -169,6 +169,17 @@ Do not send CLs removing the interior tags from such phrases.

Environment variables

+

+ The GO111MODULE + environment variable continues to default to auto, but + the auto setting now activates the module-aware mode of + the go command whenever the current working directory contains, + or is below a directory containing, a go.mod file — even if the + current directory is within GOPATH/src. This change simplifies + the migration of existing code within GOPATH/src and the ongoing + maintenance of module-aware packages alongside non-module-aware importers. +

+

The new GOPRIVATE -- 2.50.0