Documentation ¶
Index ¶
- func GetGoBinaryPath(binaryName string) (string, error)
- func GetGoPath() string
- func GetPackagePaths(path string) ([]string, error)
- func GetPackagePathsWithExcludes(path string, excludes ...string) ([]string, error)
- func GetProjectFileDirectories(paths []string) ([]string, error)
- func GoLintExcludes() []string
- func IsPathExcluded(paths []string, path string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGoBinaryPath ¶
GetGoBinaryPath looks for the given binary in path, if not checks if it's in $GOPATH/bin
func GetPackagePaths ¶
GetPackagePaths gets the go paths for various checks
func GetPackagePathsWithExcludes ¶
GetPackagePathsWithExcludes returns the package paths gotten by go list minus the dirs excluded
func GetProjectFileDirectories ¶
GetProjectFileDirectories returns all the project directories excluding git and vendor
func GoLintExcludes ¶
func GoLintExcludes() []string
GoLintExcludes returns commonly excluded dirs from quality checks
func IsPathExcluded ¶
IsPathExcluded determines if the provided path is excluded from common searches
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.