Go in the browser

This page displays a Monaco editor, with some Go code. By itself, the code does nothing.

The Run button that executes a Go program via Go's WebAssembly port, in the browser.

The Go program uses github.com/traefik/yaegi/interp which provides a full Go interpreter.

Output