Versions in this module Expand all Collapse all v1 v1.0.1 Feb 19, 2024 Changes in this version + func Format(filename string, src []byte, processes ...Process) ([]byte, error) + func MustFormat(filename string, src []byte, processes ...Process) []byte + func ParseFile(filename string, src []byte) (*token.FileSet, *ast.File, error) + func SortImportsProcess(fset *token.FileSet, f *ast.File, filename string) error + type Process func(fset *token.FileSet, f *ast.File, filename string) error