tmp-wasm/assets/index.html
Vincent Batts fc6fc03dbc
Initial commit
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2024-12-13 16:21:11 -05:00

14 lines
303 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<script src="wasm_exec.js"></script>
<script>
const go = new Go();
WebAssembly.instantiateStreaming(fetch("json.wasm"), go.importObject).then((result) => {
go.run(result.instance);
});
</script>
</head>
<body></body>
</html>