此内容没有您所选择的语言版本。

Chapter 6. Changes in Go Toolset 1.25


Go Toolset has been updated to version 1.25.0.

  • Language:

    • There are no user-visible changes to the language in Go 1.25.
  • Runtime and Performance:

    • The runtime now automatically sets GOMAXPROCS based on the CPU quota available to the container on Linux.
    • A new experimental garbage collector ("Green Tea") is available, optimized for improving tail latency in certain workloads.
  • Tools:

    • The compiler and linker now default to generating DWARF 5 debug information.
    • The go build -asan command now detects memory leaks at program exit by default.
    • The go doc command supports a new -http flag to start a local documentation server.
    • The go version command supports a -json flag to print build information in JSON format.
  • Standard Library:

    • A new experimental encoding/json/v2 package is available, offering performance improvements and new features.

For more information, see the upstream release notes.

Go Toolset is a rolling Application Stream, and Red Hat supports only the latest version. For more information, see the Red Hat Enterprise Linux Application Streams Life Cycle document.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部