Documentation
¶
Overview ¶
Package builder provides shared compilation pipeline components for the TypeGo CLI. It consolidates template generation, import scanning, and virtual module creation used by both the `build` and `run` commands.
Index ¶
Constants ¶
View Source
const ShimTemplate = `` /* 1420-byte string literal not displayed */
ShimTemplate is the Go source template used to generate standalone TypeGo binaries. It wraps the bundled JavaScript in a Goja runtime with all bridge modules enabled.
Template placeholders:
- %[1]s: Additional import statements for hyper-linked Go packages
- %[2]s: The bundled JavaScript code (quoted string)
- %[3]s: Hyper-linker binding code (generated shims)
- %[4]d: Memory limit in bytes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.