Documentation ¶
Overview ¶
Package unusedimports provides the import pruning features of the `goimports` command in library form. Intended usage is for code generator libraries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PruneUnparsed ¶
PruneUnparsed parses a Go file and removes unused imports.
The filename argument is used only for printing error messages.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.