| description | Author rich Wago documentation with synchronized tabs, cards, steps, API blocks, file trees, and WAT highlighting. |
|---|
Reusable components for clear, interactive Wago documentation. All components support keyboard navigation and narrow screens.
Use VitePress's built-in code groups for examples in multiple languages or formats.
::: code-group
engine := wago.NewEngine()
module, err := engine.Compile(wasm)
if err != nil {
return err
}(module
(func (export "answer") (result i32)
i32.const 42))wago run module.wasm:::
Compile a module once when it will be instantiated more than once.
module, err := engine.Compile(wasm)Create an isolated instance from the compiled module.
instance, err := module.Instantiate(ctx)Call an exported WebAssembly function.
results, err := instance.InvokeValues(ctx, "answer")Tabs with the same sync value remember the reader's choice and stay synchronized across the site.
curl -fsSL https://wago.sh/install.sh | shPoint Wago at a WebAssembly binary or WAT source file.
Execute the module and inspect its result.
stable experimental deprecated beta
The validated module and native machine code can be reused by multiple isolated instances.
No. Wago is implemented in pure Go.
List published plugins. Record a completed plugin installation.(module
(func (export "answer") (result i32)
i32.const 42))