Ranked #1 on Hacker News with 23 points and 1 comment.
Go 1.27 is coming soon, so itβs a good time to get a head start on whatβs new. The official release notes are pretty dry, so hereβs a hands-on version with runnable examples showing what changed and how the new behavior works.
A quick credit first: the interactive Go tours were started by Anton Zhiyanov , who wrote one for every release from Go 1.22 through Go 1.26. Heβs decided to stop , so weβre picking up where he left off. His earlier tours are all still worth a read:
Before we start digging into the new features, letβs set the context.
This article is based on the official release notes and the Go source code, licensed under the BSD-3-Clause. This is not an exhaustive list; see the official release notes for that.
Links point to the documentation (π), proposals (π£), most relevant commits (ππ), and authors (π) for each feature; check them out for motivation, usage, and implementation details. The authors (π) are the people who contributed to the feature (writing the implementation, the tests, or, for features that graduated from an earlier experiment, the original design), not necessarily a single main author.
Error handling is often skipped to keep the examples short. Donβt do this in production γ