View definition


Defined in


ImportedPackage returns the importable SSA Package whose import path is path, or nil if no such SSA package has been created.

Not all packages are importable. For example, no import declaration can resolve to the x_test package created by 'go test' or the ad-hoc main package created 'go build foo.go'.