FAQ
Is my code uploaded?
Yes. Compilation runs on our own execution gateway at run.dsjson.com, falling back to Wandbox if it is unavailable. The code does leave your device, so do not submit anything sensitive.
Which Go version is used?
Go 1.22, with the standard library available.
What structure is required?
A complete program: package main plus func main. Fragments alone will not compile.
About this tool
Compilation and execution are remote: our own gateway at run.dsjson.com first, Wandbox as fallback. The code leaves your browser — do not include anything sensitive.
The environment is Go 1.22.8 and the file is fixed as main.go, so it must contain package main and func main(). A file with functions but no main package, or with a different package name, reports that it is not an executable program.
The standard input box is passed as stdin, readable through bufio.Scanner or fmt.Scan. Go reports compile errors with line and column, and unused variables and imports are compile errors rather than warnings — unlike most languages, so "declared and not used" does not mean the environment is broken.
Timing includes remote queueing and compilation. Go compiles quickly, so perceived slowness is usually queueing or network. If both the gateway and Wandbox fail, their errors are reported together.