
Importing this package (as import _ "time/tzdata") which allows the program to find timezone information without the timezone database on the local system. I m including some useful and important changes tzdata PackageĪ new embedded tzdata package was added that permits embedding the timezone database into a program. Standard library additionsĪlways in every new version release Go come with various minor changes and updates to the library. Go 1.15 has improved the code build process now unused code is eliminating in the new linker, along with several targeted improvements, such as Clements's CL 230544, which reduces the number of stack and register maps included in the executable.

As Brad Fitzpatrick tweet, test program down from 8.2MB in Go 1.14 to 3.9MB in 1.15. The first major improvement has reduced the executable's binary size by almost 5% - 10% as compared to Go 1.14. Smaller binaries & Performance improvementsĪlways new Go 1.15 brings many minor/major performance improvements. it becomes the default NDK linker in a future NDK version. This explicitly lld linker avoids crashes on some devices. Mobile applications were crashing in some devices due to some invalid lld linker versions so now avoiding the crashing the latest Go 1.15 version explicitly selects the lld linker available in recent versions of the NDK. This was previously the case on all OSes except Windows. The -race and -msan flags now always enable -d=checkptr, which checks uses of unsafe. Go command uses -buildmode=pie by default on Windows. Go now generates Windows ASLR executables when -buildmode=pie cmd/link flag is provided. Go continues to support the 64-bit darwin/amd64 port.

Go 1.14 will likely to be the last Go release to support 32-bit binaries on iOS, iPadOS, watchOS, and tvOS (the darwin/arm port). The lastest macOS 10.15 (Catalina) is no longer supporting 32-bit binaries. Go 1.15 will require macOS 10.12 Sierra or later. Go 1.14 is the last release that will run on macOS 10.11 El Capitan. Go 1.14 version announced some changes for the macOS. Operating system and platform compatibility macOS After upgrading to the latest Go 1.15 version, almost all existing Golang applications or programs continue to compile and run as older Golang version.ĭownload the latest Go Version from ( ). Highlighted updates and features include Substantial improvements to the Go linker, Improved allocation for small objects at high core counts, X.509 CommonName deprecation, GOPROXY supports skipping proxies that return errors, New embedded tzdata package, Several Core Library improvements and more.Īs Go promise for maintaining backward compatibility.
