Documentation ¶
Index ¶
- func FileExists(filename string) bool
- func GetAllPackagesUnderDirectory(pattern string) []string
- func GetGoFiles(filenames ...string) ([]string, error)
- func GetGoFilesFromCurrentDir() ([]string, error)
- func GetGoFilesFromDir(dirname string) ([]string, error)
- func GetGoFilesFromDirectoryRecursive(dirname string) ([]string, error)
- func IsDir(filename string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
FileExists returns true if the filename exists and false otherwise.
func GetAllPackagesUnderDirectory ¶
GetAllPackagesUnderDirectory is like allPackages but is passed a pattern beginning ./ or ../, meaning it should scan the tree rooted at the given directory. There are sometimes ... in the pattern too.
func GetGoFiles ¶
GetGoFiles returns all the go files from those files supplied
func GetGoFilesFromCurrentDir ¶
GetGoFilesFromCurrentDir returns all the Go files in the current dir
func GetGoFilesFromDir ¶
GetGoFilesFromDir returns all the Go files in the supplied dir
func GetGoFilesFromDirectoryRecursive ¶
GetGoFilesFromDirectoryRecursive returns all the Go files from the supplied directory and it's children
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.