This tool updates your Go import lines, grouping it into three groups:
- stdlib,
- external libraries,
- local libraries (optional).
The plugin is based on the golang application goimportstidy by Krzysztof Dryś.
- Inside your IDE, select Preferences -> Plugins.
- Search for GO Imports Tidy.
- Click the green "Install" button.
- Re-launch your IDE.
The configuration of the plugin is solely within the scope of the project.