Documentation ¶
Overview ¶
Package imports scans for Go package import paths.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ScanOptions ¶
type ScanOptions int
ScanOptions represents available scan options.
const ( // SinglePackage only scans a single package SinglePackage ScanOptions = iota // SkipTestFiles does not scan files that end in "_test.go". SkipTestFiles // SkipFilters returns the raw unfiltered list of scanned packages. SkipFilters )
func ParseOptions ¶
func ParseOptions(skipTestFiles, skipFilters bool) []ScanOptions
ParseOptions converts cli flag inputs to ScanOptions.
Click to show internal directories.
Click to hide internal directories.