Help us shape the future of Go! Take the 2026 Go Developer Survey

playground

command
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Overview

Command playground is the WebAssembly entry point for the browser playground. It exposes the engine package to JavaScript as a global "htmlpolicy" object and then blocks forever; all logic lives in playground/engine, which is fully tested on every platform. Results cross the JS boundary as JSON strings (the page JSON.parses them), keeping this glue free of js.ValueOf structure-conversion edge cases.

Directories

Path Synopsis
Package engine is the platform-independent core of the WebAssembly playground.
Package engine is the platform-independent core of the WebAssembly playground.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL