go_wasm_calc icon indicating copy to clipboard operation
go_wasm_calc copied to clipboard

The calculator web app written in WebAssembly. (built by Golang)

go_wasm_calc

The calculator web app written in WebAssembly. (built by Golang)

Demo

demo33

Requirement

$ go get -u github.com/shurcooL/goexec

Build

Windows

$ set GOOS=js 
$ set GOARCH=wasm
$ go build -o main.wasm

Linux

$ GOOS=js GOARCH=wasm go build -o main.wasm

Run

$ goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))'

License

MIT

Author

@adsholoko