Documentation
¶
Index ¶
- func Check(dir string, excludes ...string) error
- func CheckD(dir string, excludes ...string) error
- func Copyright(path string, excludes ...string) error
- func CopyrightD(path string, excludes ...string) error
- func GetImports() error
- func GetLint() error
- func GoImports(pathToCheck string, excludes ...string) error
- func GoImportsD(dir string, excludes ...string) error
- func GoLint(pathToCheck string, excludes ...string) error
- func GoLintD(dir string, excludes ...string) error
- func GoReport(repo string) error
- func GoVet(path string, additionalArgs ...string) error
- func Test(path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckD ¶
CheckD performs all the common checks on directories Instead of packages, it operates on directories, thus it is compatible with gomodules outside GOPATH.
func CopyrightD ¶
CopyrightD checks for copyright headers in files
Instead of packages, it operates on directories, thus it is compatible with gomodules outside GOPATH.
Example:
commands.CopyrightD(".", "docs")
func GoImportsD ¶
GoImportsD checks for issues with go imports.
Instead of packages, it operates on directories, thus it is compatible with gomodules outside GOPATH.
Example:
commands.GoImportsD(".", "docs")
func GoLintD ¶
GoLintD checks for linting errors in the solution
Instead of packages, it operates on directories, thus it is compatible with gomodules outside GOPATH.
Example:
commands.GoLintD(".", "docs")
Types ¶
This section is empty.