The Go Playground

Clone this repo:

Branches

  1. e08a6e0 playground: update snippet to tell version by Dmitri Shuralyov · 4 weeks ago master
  2. 22a2396 playground: remove stale TODO about exit code by Yury Smolsky · 6 weeks ago
  3. d134d7d playground: prevent caching memory-related compile time errors by Katie Hockman · 7 weeks ago
  4. cadbb20 Dockerfile: update golang.org/x/talks/... import path by Dmitri Shuralyov · 7 weeks ago
  5. ad3cdb9 playground: fix the test broken by CL 141478 by Yury Smolsky · 7 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.