
The IDE now reports an error if you attempt to use interfaces with methods in unions. A new inspection reports unused type parameters. Type parameters with empty parameter lists are now reported as errors, and we’ve added a quick-fix to delete them. There is also an intention action that replaces interface with any. There is now an inspection that reports the usage of an empty interface as a type or type constraint. We implemented some new inspections and other features for generics: Here’s a brief overview of the new features. If you prefer an interactive approach to learning, you can complete the What’s New in GoLand 2022.2 tutorial from the IDE’s Welcome screen. To learn more about the new features in GoLand 2022.2, head over to our What’s New page, where you’ll find a full overview of the release along with GIFs and screenshots.
Check out the DataGrip 2022.2 What’s New and WebStorm 2022.2 What’s New web pages for more information. In addition, GoLand now supports WebSocket connections and can send GraphQL queries over HTTP and WebSocket protocols.Īll of the new functionality available in DataGrip and WebStorm, our IDEs for working with databases and web development, respectively, is also available in GoLand. SQL statements are now automatically detected, and you get comprehensive code assistance for them. GoLand 2022.2 offers new features for generics and Go workspaces, as well as support for fuzz tests.
GoLand’s second release of 2022 is now available!