Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectModulePath ¶
Types ¶
type FormatFunc ¶
type FormatFunc func(*Context, []*Import) GroupedImports
type GroupedImports ¶
func (GroupedImports) Add ¶
func (gp GroupedImports) Add(n int, i *Import)
type Option ¶
type Option func(*config)
func WithFormatFunc ¶
func WithFormatFunc(f FormatFunc) Option
func WithModulePath ¶
Click to show internal directories.
Click to hide internal directories.