/gowasm-example

Golang 1.11 webassembly experiment

Primary LanguageJavaScript

Go wasm example

Search users by Github on gowasm

Example of manipulation with DOM, working with the template and generating queries

Go wasm example

Clone project

cd work_dir
git clone https://github.com/maxchagin/gowasm-example ./gowasm-example
cd gowasm-example

Build app

GOARCH=wasm GOOS=js go build -o web/test.wasm main.go

Run server

go run server.go

Browser

Open page http://localhost:8080/web/wasm_exec.html

Demo

http://wasm.lovefrontend.ru/web/wasm_exec.html