Registry / utility / gopherjs-gopherwasm

gopherjs-gopherwasm

JSON →
library1.1.0gogounverified

A Go library for interacting with WebAssembly from GopherJS, enabling DOM manipulation and JS interop.

go get github.com/gopherjs/gopherwasm
INSTALL
IMPORT
SIG · GOPHERJS-GOPHERWAS
G
gopherjs-gopherwasm
utilitygov1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gopherwasm
github.com/gopherjs/gopherwasm

Logs a message to the browser console using the js package.

package main import ( "github.com/gopherjs/gopherwasm/js" ) func main() { js.Global().Get("console").Call("log", "Hello from WebAssembly!") }
Debug
Known issues
breakingThis package is deprecated in favor of the official syscall/js package in Go's standard library.
fix
Migrate to syscall/js for WebAssembly targets.
affects: >=1.11
Upgrade
Version history
1.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
gopherjs-gopherwasm — go get gopherjs-gopherwasm · libregistry