Documentation ¶
Index ¶
- Constants
- Variables
- func FindSrcFiles(search string, prune ...string) (map[string][]string, map[string][]string, map[string][]string)
- func GoCyclo(over uint) []string
- func GoFmt() []string
- func GoFumpt() []string
- func GoLint(minConf float64) []string
- func GoVet(src ...map[string][]string) []string
- func IneffAssign(src ...map[string][]string) []string
- func LineLength(threshold uint, src ...map[string][]string) []string
- func Misspell(ignore []string, src ...map[string][]string) []string
- func SpellCheck(ignore []string, skip []string, src ...map[string][]string) []string
- func StaticCheck(src ...map[string][]string) []string
- func UpdateInstall()
Constants ¶
const Version string = "0.8.0"
Version is the package version.
Variables ¶
var Debug bool
Debug will turn on debug log messages.
var Quiet bool
Quiet can be used to disable information log messages.
Functions ¶
func FindSrcFiles ¶
func FindSrcFiles( search string, prune ...string, ) (map[string][]string, map[string][]string, map[string][]string)
FindSrcFiles will recursively traverse the provided directory and return a list of Go source files.
func GoCyclo ¶
GoCyclo will analyze the provided Go source files for any functions that are overly complex.
func IneffAssign ¶
IneffAssign will analyze all packages for any inefficient variable assignments.
func LineLength ¶
LineLength will analyze the provided Go files for lines that are longer than the provided threshold.
func SpellCheck ¶
SpellCheck will run the appropriate tool for the current OS and check for spelling errors in the provided Go source files.
func StaticCheck ¶
StaticCheck will perform static analysis on all packages.
func UpdateInstall ¶
func UpdateInstall()
UpdateInstall will install the newest versions of the underlying tools.
Types ¶
This section is empty.