Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 607 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 607 Bytes

Golang

WASM

> cp ../../wasm/go.wasm .

go.wasm: WASM file compiled by go.

Run on browser

> npm run start
  • index.html: browser using WASM template, run!
  • go_wasm_exec.js: core code WASM run browser. cp $(go env GOROOT)/misc/wasm/wasm_exec.js go_wasm_exec.js

Run on Node.js

> node index.mjs