This repository contains a modified gowebapi/webapi demo that works with tinygo.
demo.mp4
- Install tinygo
- Install http-server (or any other static web server of your choice). This is required to host the wasm file.
$ tinygo build -o=main.wasm -target=wasm -no-debug ./main.go
184K main.wasm
$ http-server .