Documentation
¶
Overview ¶
Package pkgload wraps golang.org/x/tools/go/packages.Load with lagotto's --tags and --exclude conventions. Detectors receive the already-filtered slice of *packages.Package and do not interact with the loader directly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
Load loads all packages under root with the given build tags and returns those whose import paths do not match any substring in exclude. Excluded packages are filtered here so detectors do not have to repeat the check.
func ShouldExclude ¶
ShouldExclude reports whether path matches any non-empty substring in exclude. Used by Load and by filesystem-walking detectors that inspect directories outside the loaded package set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.