The GoLand 2022.1.2 replace is out.
Report unused sort parameter
There’s a new inspection that experiences unused sort parameters. They’re grayed out, and you will note a warning when hovering over them.
Completion for a kind parameter when typing a technique’s receiver
GoLand mechanically inserts a kind parameter’s identifier whenever you sort a receiver whereas creating a technique (it might be any letter, however is often the identical as within the sort’s declaration).
Enhancements and bug fixes
This construct consists of some notable fixes:
– GO-12406 – GoLand exhibits an error in the event you attempt to use an interface with sort parameters.
– GO-12634 – An error is proven in the event you’re lacking a kind constraint, as anticipated.
Take a look at the launch notes to see the total listing of enhancements and bug fixes for this replace.