Go
Golang 1.12
Fedora 30 provides Golang version 1.12, up from version 1.11 in Fedora 29. Notable changes include:
New features
-
The race detector is now supported on 64-bit ARM systems (
linux/arm64
). -
The
go
command now supports module-aware operations outside a module directory whenGO111MODULE
is set toon
. -
The compiler now has improved live variable analysis.
-
godoc
now supports the-all
flag (prints all exported APIs and their documentation) and the-src
flag (shows the target’s source code). -
trace
now supports plotting mutator utilization curves. -
Sweeping performance is significantly improved when a large fraction of the heap remains live
-
Added opt-in support for TLS 1.3 in the
crypto/tls
package
Deprecations
-
The
go tool vet
command is no longer supported. Usego vet
instead from now on. -
Version 1.12 is the last one that supports binary-only packages.
-
godoc
no longer has a command line interface and is only a web server
For full information about this release, see the upstream release notes.
Want to help? Learn how to contribute to Fedora Docs ›