The Go Playground

Clone this repo:


  1. b884d85 README: document the need to increase cloud build timeout by Dmitri Shuralyov · 7 weeks ago master
  2. be0fe03 playground: put GOCACHE in temp dir by Brad Fitzpatrick · 7 weeks ago
  3. 15cfee7 playground: update dependencies by Dmitri Shuralyov · 8 weeks ago
  4. 381a079 playground: use Go 1.12 by Dmitri Shuralyov · 8 weeks ago
  5. e08a6e0 playground: update snippet to tell version by Dmitri Shuralyov · 5 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


Building the playground Docker container takes more than the default 10 minute time limit of cloud build, so increase its timeout first (note, app/cloud_build_timeout is a global configuration value):

gcloud config set app/cloud_build_timeout 1200  # 20 mins


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


To submit changes to this repository, see