Documentation
¶
Index ¶
- func AppendStringToFile(filePath, rawString string) error
- func CollectNestedFilesPath(extension, parentPath string) ([]string, error)
- func CreateNestedFolders(sourcePath string, destNestedFolders ...string) (string, error)
- func EditFile(filePath string, f func(line string) string) error
- func ExtractFileExtension(fullName string) string
- func ExtractFileName(filePath string) string
- func ExtractGoModuleName(workDirPath string) (string, error)
- func FormatGoFile(filePath string) error
- func IsExistedDirectory(dirPath string) bool
- func IsExistedFile(filePath string) bool
- func IsExistedPattern(fileDirPath, fileNamePattern string) bool
- func ScanFileWithBreak(filePath string, f func(line string) bool) error
- func ScanLines(r io.Reader, f func(line string) error) error
- func ScanLinesWithBreak(r io.Reader, f func(line string) bool) error
- func WorkDirPath() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendStringToFile ¶
func CollectNestedFilesPath ¶
func CreateNestedFolders ¶
func ExtractFileExtension ¶
func ExtractFileName ¶
func ExtractGoModuleName ¶
func FormatGoFile ¶
func IsExistedDirectory ¶
func IsExistedFile ¶
func IsExistedPattern ¶
func WorkDirPath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.