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 專家即時聊天詢問。