The Go Playground

Clone this repo:

Branches

  1. 0cf5f3c playground: add integration test for https://golang.org/cl/105235 by Yury Smolsky · 10 days ago master
  2. 6cd23d6 playground: interleave standard output and error correctly by Yury Smolsky · 13 days ago
  3. b3b8232 playground: patch runtime with https://golang.org/cl/105235 by Bryan C. Mills · 11 days ago
  4. 66c23b7 README.md: update example commands and remove redundant text by Bryan C. Mills · 11 days ago
  5. f980e90 playground: update Dockerfile to use multi-stage builds, 1.10.1 by Andrew Bonventre · 3 weeks ago

playground

This subrepository holds the source for the Go playground: https://play.golang.org/

Building

# build the image
docker build -t playground .

Running

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

Deployment

gcloud --project=golang-org --account=person@example.com app deploy app.yaml

Contributing

To submit changes to this repository, see https://golang.org/doc/contribute.html.