Discover Packages
github.com/CaiJinKen/sortimport
command
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jul 23, 2024
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
sortimport
Sort/group imports in golang file
Installation
% go install github.com/CaiJinKen/[email protected]
Usage
% sortimport -file=<filename> -writeback=true -std-out=false
or
% sortimport -file <filename> -writeback -std-out false
Flags:
-file string
filename
-only-changed
just print changed line, false will print all info
-std-out
print info into stdout (default true)
-version string
print fillstruct version
-writeback
writeback to the file
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.