Versions in this module Expand all Collapse all v0 v0.0.2 Apr 17, 2023 v0.0.1 Apr 4, 2023 Changes in this version + func InitGroup(s string) error + func Sort(filename string, sorter Sorter) ([]byte, error) + type ImportPath struct + func (ip ImportPath) PackageType() string + type ImportSorter struct + func NewImportSorter() *ImportSorter + func (i *ImportSorter) Group(list []ImportPath) [][]ImportPath + func (i *ImportSorter) Sort(list []ImportPath) []ImportPath + type Sorter interface + Group func(list []ImportPath) [][]ImportPath + Sort func(list []ImportPath) []ImportPath