The Go Playground

Clone this repo:


  1. e07747d playground: prevent caching memory-related runtime errors by Katie Hockman · 5 weeks ago master
  2. 0757b4e playground: serve 404 for non-existent pages by Dmitri Shuralyov · 6 weeks ago
  3. 06ce2e1 playground: update to 1.10.3 by Andrew Bonventre · 10 weeks ago
  4. a6ad7bf playground: disable cgo when executing the vet tool by Yury Smolsky · 3 months ago
  5. f759808 playground: allow CORS requests on /compile and /vet endpoints by Andrew Bonventre · 3 months ago


This subrepository holds the source for the Go playground:


# build the image
docker build -t playground .


docker run --name=play --rm -d -p 8080:8080 playground
# run some Go code
cat /path/to/code.go | go run client.go | curl -s --upload-file - localhost:8080/compile


gcloud --project=golang-org app deploy app.yaml


To submit changes to this repository, see