Documentation ¶
Overview ¶
Package run controls the loading of go code and the running of analyzers.
Index ¶
- Variables
- func LoadPackages(packagesList ...string) ([]*packages.Package, bool, error)
- func RemoveItem(pkg *packages.Package, pkglist []*packages.Package) []*packages.Package
- func Run(analyzers []*analysis.Analyzer, packages ...string) ([]util.Finding, bool, error)
- func RunAnalyzers(analyzers []*analysis.Analyzer, pkg *packages.Package) ([]util.Finding, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var CG util.CallGraph
View Source
var CGFlat bool
Functions ¶
func LoadPackages ¶
Load go packages
func RemoveItem ¶
Remove bad packages from the list of packages to be scanned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.