Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFormat ¶
func LoadFormatGoFile ¶
func LocalFlagsToSections ¶
func LocalFlagsToSections(localFlags []string) section.SectionList
func ProcessFiles ¶
func ProcessFiles(fileGenerator io.FileGeneratorFunc, cfg config.Config, fileFunc fileFormattingFunc) error
Types ¶
Click to show internal directories.
Click to hide internal directories.