package emit

Import Path
	go.pact.im/x/plumb/internal/emit (on go.dev)

Dependency Relation
	imports 13 packages, and imported by one package

Involved Source Files Package emit is plumb's final phase: it turns the resolved plans into the gofmt-canonical generated file and the -v report. It chooses import aliases, allocates local names, renders each injector via the plan's instances, and aggregates cleanup and error handling. It produces text; it makes no wiring decisions and reports no diagnostics (a malformed render is an invariant violation and panics). name.go qual.go render.go report.go
Package-Level Type Names (total 4, in which 1 is exported)
/* sort exporteds by: | */
Result is the outcome of a successful generation. It is emit's output, handed back through gen to the caller. Report is the human-readable discovery-and-inference report (the body of the -v output). It is informational and not contractual. Source is the gofmt-canonical generated Go source. func File(importPath, packageName string, pkgs []*discover.Package, plans []*solve.Plan, dest *solve.DestInfo) *Result func go.pact.im/x/plumb/internal/gen.Generate(opts gen.Options, pkgs []*discover.Package) (*Result, error)
Package-Level Functions (total 39, in which 1 is exported)
File turns the resolved plans into the gofmt-canonical generated file and the -v report.
Package-Level Variables (only one, which is unexported)