We have just released a new, fresher version of GoLand 2019.2 – the 2019.2.1 bug-fix update.
This update addresses the following issues:
GO-6994, GO-7787 — GoLand now always optimizes imports after you apply the Move refactoring. The Refactoring Preview pane allows you to check if the generated file is going to be changed by optimizing or sorting, and to discard the change if anything goes wrong.
GO-7789 — A glitch affecting the Sync packages quick-fix has been fixed. Now it doesn’t highlight a dependency as an error after it’s downloaded in projects that use the Go Modules integration with the Vendoring mode enabled.
GO-7593 — The Create field quick-fix doesn’t move lines with comments anymore.
GO-7741 — Code Completion inserts the correct type of brackets for structs.
GO-7752 — GoLand’s code formatter aligns type definitions in the right way.
GO-7808 — Code Completion is more precise.
GO-7852 — SQL injection works as expected.