Example of Go & Wasm. Based on https://github.com/dstoiko/go-pong-wasm but with improved JS and Web server initialization.
cp $(go env GOROOT)/misc/wasm/wasm_exec.js ./html/wasm_exec.js
GOOS=js GOARCH=wasm go build -o ./html/main.wasm ./wasm/.
go run main.go
git push heroku main:master