examples/

directory
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MIT

Directories

Path Synopsis
Example: basic script execution.
Example: basic script execution.
Example: calling JavaScript functions from Go.
Example: calling JavaScript functions from Go.
Example: exposing Go functions and data to JavaScript.
Example: exposing Go functions and data to JavaScript.
Example: the Fetch API (host/fetch).
Example: the Fetch API (host/fetch).
Example: resource limits for untrusted code.
Example: resource limits for untrusted code.
Example: intercepting require() with a ModuleProvider.
Example: intercepting require() with a ModuleProvider.
Example: capability providers.
Example: capability providers.
Example: choosing the RegExp backend.
Example: choosing the RegExp backend.
Example: a hardened sandbox running untrusted code.
Example: a hardened sandbox running untrusted code.
Example: Server-Sent Events (EventSource) in gojs.
Example: Server-Sent Events (EventSource) in gojs.
Example: running TypeScript on the gojs VM, with no external tooling.
Example: running TypeScript on the gojs VM, with no external tooling.
Example: a browser-compatible WebSocket client in gojs.
Example: a browser-compatible WebSocket client in gojs.

Jump to

Keyboard shortcuts

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