package gopackages
Import Path
go.pact.im/x/plumb/internal/gopackages (on go.dev)
Dependency Relation
imports 6 packages, and imported by one package
Involved Source Files
Package gopackages is the real package-loading boundary: it drives the Go
toolchain's package loader to turn patterns into the typed packages the pure
core consumes. It is deliberately thin and kept out of the core so the core
stays a pure, deterministic function of already-loaded inputs.
Package-Level Type Names (only one, which is exported)
Package-Level Functions (total 2, in which 1 is exported)
Load resolves and type-checks the packages matching patterns, rooted at dir.
A structural failure is fatal: a broken module or missing package (reported by
the go command), or a parse error that could hide a //plumb: directive.
Everything else, notably a type error, is tolerated and collected in
Result.TypeErrors: regenerating over a stale generated file whose old wiring no
longer type-checks must still work, and an unresolved import surfaces precisely
downstream as an invalid-type diagnostic if it reaches the generated output.
Package-Level Constants (only one, which is unexported)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)