Generics를 지원하기 위해 최신 Go SDK로 전환할 수 있는 빠른 수정 기능을 추가합니다.
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.