wasm

command
v0.0.0-...-905e004 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 8 Imported by: 0

README

Web Assembly Sample

Prerequisites

  • Make sure the wasm Go helper is up to date:
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .

Build the sample

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

Run the sample

caddy run

Documentation

Rendered for js/wasm
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