Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortFuncsWithOptions ¶
func SortFuncsWithOptions(filename string, opts SortOptions) error
SortFuncsWithOptions reads a Go file, extracts top-level functions (and optional methods), groups exported/unexported, sorts them, and either writes back or prints a colorized diff.
Types ¶
Click to show internal directories.
Click to hide internal directories.