About the Playground
The Go Playground is a web service that runs on golang.org's servers. The service receives a Go program, vets, compiles, links, and runs the program inside a sandbox, then returns the output.
If the program contains tests or examples and no main function, the service runs the tests. Benchmarks will likely not be supported since the program runs in a sandboxed environment with limited resources.
There are limitations to the programs that can be run in the playground:
The article "Inside the Go Playground" describes how the playground is implemented. The source code is available at https://go.googlesource.com/playground.
This playground uses a development version of Go.
The current version is devel go1.24-a311754d54 Wed Nov 20 13:07:35 2024 +0000.
The playground service is used by more than just the official Go project (Go by Example is one other instance) and we are happy for you to use it on your own site. All we ask is that you contact us first (note this is a public mailing list), use a unique user agent in your requests (so we can identify you), and that your service is of benefit to the Go community.
Any requests for content removal should be directed to security@golang.org. Please include the URL and the reason for the request.