wasm

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2020 License: MIT Imports: 6 Imported by: 0

README

In order to compile and run the demo, do the following:

$ cp $(go env GOROOT)/misc/wasm/wasm_exec.js .
$ env GOOS=js GOARCH=wasm go build -o main.wasm
$ go get -u github.com/shurcooL/goexec
$ goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir(".")))'

Then open http://localhost:8080/ in your browser and enjoy the demo!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL