The Go Playground

Clone this repo:

Branches

  1. a7e8e78 playground: refactor handleVet and handleCompile methods by Yury Smolsky · 2 weeks ago master
  2. 0a3c79a Dockerfile: use x/tools containing the CL 107455 by Yury Smolsky · 2 weeks ago
  3. da85333 playground: add vet by Yury Smolsky · 2 months ago
  4. f3bb33c Dockerfile: bump Go version to 1.10.2 by Andrew Bonventre · 3 weeks ago
  5. 0cf5f3c playground: add integration test for https://golang.org/cl/105235 by Yury Smolsky · 6 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.