SDKActive

TinyGo WebAssembly

TinyGo WebAssembly support enables compiling Go to WASM for browsers, with JS interop and a helper runtime.

Open source page ↗

Field note

What it does

TinyGo WebAssembly support allows compiling Go code to WebAssembly for browser execution. It provides JavaScript interop, a helper runtime (wasm_exec.js), and build commands for GOOS=js GOARCH=wasm. It includes examples for calling JS from Go and exporting Go functions to JS.

Capabilities

Available capabilities

Tags

Tags

No tags filed yet.

Ways to use it

Ways to use it

No integrations filed yet.

Product features

Product features

Export Functions

Export Go functions to JavaScript using //export directives.

Import Functions

Import JavaScript functions into Go by declaring them without a body.