This Saturday, the Golang team released the State of Go February 2019 outlining the developments in the programming language and showing its current state. Since Golang 1.11, changes have been made to the standard library, tooling, and the community.
The behavior when an interface is typed to an implicit escaper function is changed. It was previously <nil> and is now ignored.
The UnreadRune and UnreadByte methods from Reader will return an error if they are called after Peek.
There is a new ReplaceAll function where the value passed can be bytes or strings.
To print a map sorted by keys, developers can just print the map. However, note that iteration will be done randomly.
Using TLS 1.3 in Go helps by causing one fewer round trip, securing only cipher suites, and provides support in all major browsers.
The following commands now work:
modules is an alternative to GOPATH. It has integrated versioning and package distribution.
Now there are custom events to runtime traces.
Go can now compile to WebAssembly (wasm files)
These were a select few important updates from the presentation, for more details you can view The State of Go: Feb 2019.
The Golang team has started working on Go 2 proposals
I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…
Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…
Once we learn how to deploy an Ubuntu server, how to manage users, and how…
Key-takeaways: Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…
While developing a web application, or setting dynamic pages and meta tags we need to deal with…
Software architecture is one of the most discussed topics in the software industry today, and…