playground

command
v0.56.1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

README

How to compile

Linux

export GOOS=js
export GOARCH=wasm
scriggo import -v -o packages.go
go build -tags osusergo,netgo -trimpath -o scriggo.wasm
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .

Windows

SET GOOS=js
SET GOARCH=wasm
scriggo import -v -o packages.go
go build -tags osusergo,netgo -trimpath -o scriggo.wasm
copy "C:\Program Files\Go\misc\wasm\wasm_exec.js" .

Than serve the files index.html, playground.js, scriggo.wasm and wasm_exec.js with a web server.

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