playground

command
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: BSD-3-Clause Imports: 140 Imported by: 0

README

How to compile

Linux

export GOOS=js
export GOARCH=wasm
scriggo embed > packages.go
go build -tags osusergo,netgo -trimpath -o scriggo.wasm

Windows

SET GOOS=js
SET GOARCH=wasm
scriggo embed > packages.go
go build -tags osusergo,netgo -trimpath -o scriggo.wasm

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