Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportPackageDir ¶
SupportPackageDir is where the support package is written for a resolved configuration: `internal/fgb` next to the generated Go bridge.
func WriteSupportPackage ¶
WriteSupportPackage emits the support package. It must run before the Go input is parsed: an API that references the package cannot even be loaded until the package exists on disk. The content is static, so this is safe to do up front, and rewriting it on every run keeps it in lockstep with the generated bridge - the two share an internal contract.
Types ¶
type Result ¶
func GenerateAll ¶
GenerateAll emits both platform implementations and the conditional Dart facades that select Native or Web at compile time. The existing Generate function remains the single-target renderer used by focused generator tests and by callers that intentionally need one platform only.