14 lines
334 B
HTML
14 lines
334 B
HTML
<html>
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<script src="wasm_exec.js"></script>
|
|
<script>
|
|
const go = new Go();
|
|
WebAssembly.instantiateStreaming(fetch("main.wasm"), go.importObject).then((result) => {
|
|
go.run(result.instance);
|
|
});
|
|
</script>
|
|
</head>
|
|
<body style="margin: 0;"></body>
|
|
</html>
|