Documentation
¶
Overview ¶
Package register wires the WASI plugins into the wago engine's global plugin registry as a side effect of import. A custom wago build includes WASI by blank-importing it:
import _ "github.com/wago-org/wasi/register"
This is the generic plugin-registration convention: a plugin module ships a `register` package whose init() calls wago.RegisterExtension, so `wago plugin build` only has to blank-import it — no engine-side special-casing.
It lives in its own leaf package (not the module root) because it imports the p1/unstable subpackages, which import the root for their manifest metadata; a root-level init() would create an import cycle.
Click to show internal directories.
Click to hide internal directories.