提交点赞

Go 1.27 正式发布:泛型方法、结构体初始化与工具链现代化

Go 团队发布 Go 1.27,语言层面新增泛型方法支持、结构体字面量嵌套字段直接初始化、函数类型推断扩展。工具链方面 go fix 新增 atomictypes/embedlit/slicesbackward/unsafefuncs 四个现代化改造,go doc 支持 package@version 查询,go mod tidy 也有改进。
评论点赞收藏4 小时前

The Pkg.go.dev API

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...
评论点赞收藏87 天前

Type Construction and Cycle Detection

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....
评论点赞收藏148 天前

//go:fix inline and the source-level inliner

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...
评论点赞收藏161 天前

Allocating on the Stack

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...
评论点赞收藏173 天前

Using go fix to modernize Go code

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...
评论点赞收藏183 天前

Go 1.26 Is Released

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...
评论点赞收藏190 天前

Go's Sweet 16

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...
评论点赞收藏278 天前

The Green Tea Garbage Collector

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...
评论点赞收藏294 天前

Flight Recorder in Go 1.25

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 ...
评论点赞收藏327 天前