Go 团队发布 Go 1.27,语言层面新增泛型方法支持、结构体字面量嵌套字段直接初始化、函数类型推断扩展。工具链方面 go fix 新增 atomictypes/embedlit/slicesbackward/unsafefuncs 四个现代化改造,go doc 支持 package@version 查询,go mod tidy 也有改进。
The Go Blog Introducing the API Ethan Lee, Hana Kim, and Jonathan Amsterdam 21 May 2026 Since its inception, has established itself as the Go community’s primary resource for package documentation and...
The Go Blog Type Construction and Cycle Detection Mark Freeman 24 March 2026 Go’s static typing is an important part of why Go is a good fit for production systems that have to be robust and reliable....
The Go Blog //go:fix inline and the source-level inliner Alan Donovan 10 March 2026 Go 1.26 contains an all-new implementation of the go fix subcommand, designed to help you keep your Go code up-to-da...
The Go Blog Allocating on the Stack Keith Randall 27 February 2026 We’re always looking for ways to make Go programs faster. In the last 2 releases, we have concentrated on mitigating a particular sou...
Hello, I wrote this code. It reports the time for a ball to be thrown upward to a given maximum height in a given approximately uniform gravitational field (e.g. 1 g), as measured in the thrower's fra...
The Go Blog Using go fix to modernize Go code Alan Donovan 17 February 2026 The 1.26 release of Go this month includes a completely rewritten go fix subcommand. Go fix uses a suite of algorithms to id...
The Go Blog Go 1.26 is released Carlos Amedee, on behalf of the Go team 10 February 2026 Today the Go team is pleased to release Go 1.26. You can find its binary archives and installers on the downloa...
The Go Blog Results from the 2025 Go Developer Survey Todd Kulesza, on behalf of the Go team 21 January 2026 Hello! In this article we’ll discuss the results of the 2025 Go Developer Survey, conducted...
The Go Blog Go’s Sweet 16 Austin Clements, for the Go team 14 November 2025 This past Monday, November 10th, we celebrated the 16th anniversary of Go’s open source release! We released Go 1.24 in Febr...
The Go Blog The Green Tea Garbage Collector Michael Knyszek and Austin Clements 29 October 2025 Go 1.25 includes a new experimental garbage collector called Green Tea, available by setting GOEXPERIMEN...
The Go Blog Flight Recorder in Go 1.25 Carlos Amedee and Michael Knyszek 26 September 2025 In 2024 we introduced the world to more powerful Go execution traces. In that blog post we gave a sneak peek ...