sortimports

command module
v0.0.0-...-a2f1690 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2022 License: GPL-2.0 Imports: 14 Imported by: 0

README

sortimports

Command sortimports sorts import sections of Go files.

It sorts imports into three sections: standard library, external imports and module-local imports.

Usage:

sortimports [-n] [package...]

It operates on the named packages (the current package . by default).

The -n flag causes it to show which files it would have changed without actually changing them.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL