Go
Golang 1.13
Fedora 31 provides Golang version 1.13, up from version 1.12 in Fedora 30.
By setting GOSUMDB=off and GOPROXY=direct environment variables, Fedora slightly diverged from the Golang upstream default configuration. This change preserves the ability of users to set the environment variables to value they desire and prevents unintended leaks of personal information. There is no impact on users of the compiler.
Önemli değişiklikler şunlardır:
Yeni özellikler
-
Version 1.13 supports more uniform and modernized set of number literal prefixes.
-
The new
GOSUMDBenvironment variable has been added. It identifies the name, and optionally the public key and server URL of the checksum database. This is done in order to consult the checksums of modules which are not yet listed in thego.sumfile of the main module. -
The
gocommand verifies the mapping between pseudo-versions and version-control metadata. -
The
go envcommand accepts a-wflag to set the per-user default value. A-uflag unsets the previously-set default. The defaults set throughgo env -wcommand are stored in thego/envfile within theos.UserConfigDir()function. -
The assembler supports many of the atomic instructions introduced in ARM v8.1.
-
The Transport Layer Security (TLS) 1.3 protocol is supported in the
crypto/tlspackage by default. -
Version 1.13 supports error wrapping.
Deprecations
-
Version 1.13 is the last one that runs on the Native Client (NaCl) sandboxing technology.
-
The
go -getsubcommand no longer supports the-mflag. -
As of version 1.13, the
godocwebserver is not included in the main binary distribution.
For full information about this release, see the upstream release notes.
Golang packaging guidelines
Fedora has adopted a new set of packaging guidelines for Golang. If you maintain any Go packages, you can view them in the Packaging Guidelines document.
Want to help? Learn how to contribute to Fedora Docs ›