go

command
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2025 License: MIT Imports: 2 Imported by: 0

README

  1. Install Go https://go.dev/dl
  2. Install Binaryen https://github.com/WebAssembly/binaryen
  3. Copy {GO_INSTALL_DIR}/lib/wasm/wasm_exec.js to this folder
  4. Run & { $env:GOOS="js"; $env:GOARCH="wasm"; go build -o main.wasm main.go }
  5. Run wasm-opt main.wasm -O3 -o main.wasm --all-features --strip-dwarf --strip-debug --vacuum

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