GoLand 2021.3.3

为切换到较新的 Go SDK 添加快速修复程序以支持 Generics。
2月 2, 2022
新版本

特性

  • Added Quick-fix for switching to a newer Go SDK - If your project contains generics, but Go SDK for the project is lower than 1.18, GoLand will now suggest a quick-fix for switching to the 1.18 version. GoLand also checks the Go version in your go.mod file and suggests a quick-fix to change it if you use generics and the Go version is incompatible with generics.
  • Added support for underlying type constraints - Functions with underlying type constraints are now supported, and GoLand no longer shows a “missing function body” error.
  • The “Exported element should have a comment” inspection is now enabled by default - An inspection that checks whether you added a comment to your exported element is now enabled by default.
  • Unused variable passed to a closure is now reported as an error - GoLand now reports an unused variable passed to a closure as an error if you set your Go SDK to 1.18.
Added Quick-fix for switching to a newer Go SDK

GoLand

专为 Go 开发人员构建的跨平台 IDE。

有任何疑问吗?

透过Live Chat与我们的JetBrains 专家联络!