Documentation ¶
Index ¶
- func CopyDir(src, dst string) error
- func CopyFile(src, dst string) error
- func CopyFilesInDir(src, dst string) error
- func Diff(src, dst string) error
- func GetGoFiles(filePath string, includeTestFiles bool) ([]string, error)
- func OutputGoFile(filePath, packageName, body string, imports []impt.Impt) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGoFiles ¶ added in v0.0.17
If filePath is a directory, get all files inside it ending in "go".
If filePath is a valid file ending in ".go", return single length list
If filePath is a valid file *not* ending in ".go", return zero length list
If includeTestFiles is false, exclude files ending in "_test.go"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.