Files
wazero/examples
Crypt Keeper 106f96b066 Adds import-go example (#466)
This shows how to define, export and import functions written in Go.

Fixes #464

Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Takeshi Yoneda <takeshi@tetrate.io>
2022-04-15 09:31:52 +08:00
..
2022-04-15 09:31:52 +08:00
2022-04-15 09:31:52 +08:00
2022-04-15 09:31:52 +08:00
2022-04-15 09:31:52 +08:00

wazero examples

The following example projects can help you practice WebAssembly with wazero:

  • basic - how to use both WebAssembly and Go-defined functions.
  • import-go - how to define, import and call a Go-defined function from a WebAssembly-defined function.
  • multiple-results - how to return more than one result from WebAssembly or Go-defined functions.
  • replace-import - how to override a module name hard-coded in a WebAssembly module.
  • wasi - how to use I/O in your WebAssembly modules using WASI (WebAssembly System Interface).

Please open an issue if you would like to see another example.