Added a Go template playground
All checks were successful
/ publish (push) Successful in 55s

This commit is contained in:
Leon Mika 2025-09-26 17:28:30 +10:00
parent e4ab1358e9
commit d1dee7bc3d
8 changed files with 148 additions and 2 deletions

8
site/gotemplate/main.js Normal file
View file

@ -0,0 +1,8 @@
import "/wasm/wasm_exec.js";
const go = new Go();
WebAssembly.instantiateStreaming(fetch("/wasm/gotemplate.wasm"), go.importObject)
.then((result) => {
go.run(result.instance);
});