go-webassembly-canvas
Writing a very simple canvas toy with WebAssembly and Go
Development
-
build wasm
GOARCH=wasm GOOS=js go build -o ./wasm/lib.wasm main.go
-
start http server
go run server.go
-
visit http://localhost:4200
Writing a very simple canvas toy with WebAssembly and Go
build wasm
GOARCH=wasm GOOS=js go build -o ./wasm/lib.wasm main.go
start http server
go run server.go
visit http://localhost:4200