View problems and apply quick-fixes in the editor
In the editor, hover the mouse pointer over the highlighted problem. GoLand shows a tooltip with a description of the problem.
To resolve the problem, click <Linter name>: Fix '<rule name>' or press Shift+Alt+Enter.
To resolve all the detected problems in the current file, click More actions ( Alt+Enter) and select from the list.
Alternatively, press Alt+Enter and choose the relevant suggestion from the list.
Problems tool window
The Problems tool window shows all the errors for the file in the active editor tab. Each error is supplied with a brief description and information about the number of the line where it occurred.
From each error message, you can navigate to the code where it occurred or fix the problem right in the Problems tool window, possibly using the Preview pane for reference.
To navigate to the place where a error occurred, select Jump to Source from the context menu of the error message or press F4.
To resolve the detected problems in the whole file, select <Linter name >: Fix current file.
You can also edit the linter's settings, suppress a rule where its violation has been detected or suppress a rule in the whole file, as well as exclude the current file from analysis at all.