About the Playground
The Go Playground is a web service that runs on
golang.org's servers.
The service receives a Go program, compiles, links, and
runs the program inside a sandbox, then returns the output.
There are limitations to the programs that can be run in the playground:
-
The playground can use most of the standard library, with some
exceptions; notably absent are network and file system access.
Therefore, the only communication a playground program has to the
outside world is by writing to standard output and standard error.
-
In the playground the time begins at 2009-11-10 23:00:00 UTC
(determining the sigificance of this date is an exercise for the reader).
This makes it easier to cache programs by giving them deterministic output.
-
There are also limits on execution time and on CPU and memory usage,
and the program is restricted to running in a single thread
(but may use many goroutines).
The playground uses the latest stable release of Go.
To find the precise version, run this program.