Embed a standalone WASM app
Our reads from a file. Note that the WebAssembly program’s input and output data are now passed by the STDIN and STDOUT.
Compile the application into WebAssembly.
The Go source code to run the WebAssembly function in WasmEdge is as follows.
Run the Golang application.
More examples can be found at the WasmEdge-go-examples GitHub repo.