From 02a0827d7960d0c828fad57b11c02794dec50552 Mon Sep 17 00:00:00 2001
From: "Bryan C. Mills"
+ TODO: status of ARM32 port? +
+ ++ TODO: status of AIX port? +
+ +
+ hurd
is now a recognized value for GOOS
, reserved
+ for the GNU/Hurd system for use with gccgo
.
+
go tool vet
no longer supported
+ When GO111MODULE
is set to on
, the go
+ command now supports module-aware operations outside of a module directory,
+ provided that those operations do not need to resolve import paths relative to
+ the current directory or explicitly edit the go.mod
file.
+ Commands such as go
 get
,
+ go
 list
, and
+ go
 mod
 download
behave as if in a
+ module with initially-empty requirements.
+ In this mode, go
 env
 GOMOD
reports
+ the system's null device (/dev/null
or NUL
).
+
+ go
commands that download and extract modules are now safe to
+ invoke concurrently.
+ The module cache (GOPATH/pkg/mod
) must reside in a filesystem that
+ supports file locking.
+
+ The go
directive in a go.mod
file now indicates the
+ version of the language used by the files within that module, and
+ go
 mod
 tidy
sets it to the
+ current release (go
 1.12
) if no existing
+ version is present.
+ If the go
directive for a module specifies a
+ version newer than the toolchain in use, the go
command
+ will attempt to build the packages regardless, and will note the mismatch only if
+ that build fails.
+
@@ -121,6 +174,13 @@ for {
+
+ The compiler now accepts a -lang
flag to set the Go language
+ version to use. For example, -lang=go1.8
causes the compiler to
+ emit an error if the program uses type aliases, which were added in Go 1.9.
+ Language changes made before Go 1.12 are not consistently enforced.
+
@@ -146,12 +206,8 @@ for { - - - - @@ -259,14 +315,6 @@ for { -
- TODO: https://golang.org/cl/146023: add "hurd" as a GOOS value -
- --- 2.50.0