diff --git a/doc/go1.14.html b/doc/go1.14.html index 245b068ce8..f5f0735741 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -217,6 +217,32 @@ TODO of GOINSECURE is a comma-separated list of glob patterns.

+

Commands outside modules

+ +

+ When module-aware mode is enabled explicitly (by setting + GO111MODULE=on), most module commands have more + limited functionality if no go.mod file is present. For + example, go build, + go run, and other build commands can only build + packages in the standard library and packages specified as .go + files on the command line. +

+ +

+ Previously, the go command would resolve each package path + to the latest version of a module but would not record the module path + or version. This resulted in slow, + non-reproducible builds. +

+ +

+ go get continues to work as before, as do + go mod download and + go list -m with explicit version + patterns. +

+

+incompatible versions