Updates Go import lines, adding missing ones and removing unreferenced ones.
Display the completed import source file
Write the result back to the source file instead of the standard output
Display diffs and write the result back to the source file
Set the import prefix string after 3rd-party packages (comma-separated list)
goimports [flags] [ path ... ]
Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.
Run goimports -help for more details.
This manual page was written by Michael Stapelberg <email@example.com>, for the Debian project (and may be used by others).