Example of manipulation with DOM, working with the template and generating queries
cd work_dir
git clone https://github.com/maxchagin/gowasm-example ./gowasm-example
cd gowasm-example
GOARCH=wasm GOOS=js go build -o web/test.wasm main.go
go run server.go
Open page http://localhost:8080/web/wasm_exec.html