Versions in this module Expand all Collapse all v1 v1.0.0 Feb 29, 2024 Changes in this version + func AddIndent(in *[]byte, first *bool) + func DiffFormattedFiles(paths []string, cfg config.Config) error + func DiffFormattedFilesToArray(paths []string, cfg config.Config, diffs *[]string, lock *sync.Mutex) error + func ListUnFormattedFiles(paths []string, cfg config.Config) error + func LoadFormat(in []byte, path string, cfg config.Config) (src, dist []byte, err error) + func LoadFormatGoFile(file io.FileObj, cfg config.Config) (src, dist []byte, err error) + func LocalFlagsToSections(localFlags []string) section.SectionList + func PrintFormattedFiles(paths []string, cfg config.Config) error + func ProcessFiles(fileGenerator io.FileGeneratorFunc, cfg config.Config, ...) error + func WriteFormattedFiles(paths []string, cfg config.Config) error + type Cases struct