simple

command
v0.0.0-...-af601db Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

README

example: mouse events

Quickstart

Use the following command to build the WASM binary file.

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

From the root directory of the repo, execute the following command to start an HTTP server on this directory.

go run ./server -dir ./examples/simple

Open your browser and go to localhost:8080. Enjoy!

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