go
Go playground — use the toolchain already on your desktop
Lingua runs Go locally instead of uploading source to a shared playground. The current file compiles through your Go installation, while desktop project tools add gopls intelligence, dependency assistance, tests, search, and a terminal around an approved folder.
What actually runs
go buildcompiles the current file to WebAssembly withGOOS=js GOARCH=wasm; the result executes in a Worker inside the app.- Compile errors become Monaco markers with source locations.
goplsprovides diagnostics, completions, hover, and signature help on desktop when the binary is available.gofmthandles format-on-save for.gofiles.- Inline
//=>comments surface values beside the line that produced them. - In a saved project with
go.mod, the dependency panel can run a confirmedgo get, and the project test runner can executego test ./.... - Debug mode drives local Delve through DAP for pause breakpoints, step over/into/out, locals, source-local call stack, and watches.
What doesn’t work today
- Go execution requires a local Go installation. The web build reports the desktop-only boundary instead of pretending to run it.
- gopls intelligence requires a local
goplsbinary. Settings provides detection, installation guidance, and restart controls when it is missing or stops. - Go debugging requires a local
dlvbinary. Install it withgo install github.com/go-delve/delve/cmd/dlv@latest; macOS also requires Developer Tools access for the current account. - Debug mode runs the current buffer in a temporary single-file module; it does not yet debug an entire saved module or imported local files.
- The scratchpad runner compiles the current file; it does not replace
a full
go runworkflow or manage your module proxy and cache.
Why this is in the paid tier
Go execution is a paid-tier feature. Education access provides the same entitlements free for verified students and educators.
Download
Get Lingua at https://linguacode.dev. Source-available under the Lingua Commercial License.