Added clocks tool
This commit is contained in:
parent
8dc2621f87
commit
7073a2d3f2
23 changed files with 1061 additions and 3 deletions
8
site/clocks/main.js
Normal file
8
site/clocks/main.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import "/wasm/wasm_exec.js";
|
||||
|
||||
const go = new Go();
|
||||
|
||||
WebAssembly.instantiateStreaming(fetch("/wasm/clocks.wasm"), go.importObject)
|
||||
.then((result) => {
|
||||
go.run(result.instance);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue