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

View file

@ -12,6 +12,7 @@ clean:
build.wasm:
mkdir target/wasm
GOOS=js GOARCH=wasm go build -o target/wasm/clocks.wasm ./cmds/clocks
GOOS=js GOARCH=wasm go build -o target/wasm/gotemplate.wasm ./cmds/gotemplate
cp $(GOROOT)/lib/wasm/wasm_exec.js target/wasm/.
.Phony: build.site