Documentation ¶
Index ¶
Constants ¶
View Source
const ( SkipRegexpFlagName = "skip-regexp" SkipRegexpFlagUsage = `regexp pattern to skip file by name. To not skip files use -skip-regexp="^$"` SkipRegexpFlagDefault = `(export|internal)_test\.go` )
View Source
const ( AllowPackagesFlagName = "allow-packages" AllowPackagesFlagUsage = `comma separated list of packages that don't end with _test that tests are allowed to be in` AllowPackagesFlagDefault = `main` )
Variables ¶
This section is empty.
Functions ¶
func NewAnalyzer ¶
NewAnalyzer returns Analyzer that makes you use a separate _test package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.