Help us shape the future of Go! Take the 2026 Go Developer Survey

web

command
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Rendered for js/wasm

Overview

Interactive scatter plot in the browser via WebAssembly.

Build:

linux/macOs: GOOS=js GOARCH=wasm go build -o examples/web/app.wasm ./examples/web/
windows: $env:GOOS="js"; $env:GOARCH="wasm"; go build -o examples/web/app.wasm ./examples/web/; $env:GOOS=$null; $env:GOARCH=$null; go run ./examples/web/serve/

Serve (from project root):

go run ./examples/web/serve/

Directories

Path Synopsis
Dev server: builds the WASM example and serves it on localhost:8080.
Dev server: builds the WASM example and serves it on localhost:8080.

Jump to

Keyboard shortcuts

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