The Go Playground

Clone this repo:

Branches

  1. 8d50847 playground: update app.yaml by Andrew Bonventre · 3 weeks ago master
  2. 9d409f1 playground: don’t log the output of a program when it cannot be cached by Andrew Bonventre · 3 weeks ago
  3. 9b22e25 playground: update Dockerfile to use Go 1.9.3 by Andrew Bonventre · 3 weeks ago
  4. e656ac5 playground: update deps to pull in golang.org/cl/86317 by Andrew Bonventre · 7 weeks ago
  5. bb2a4ed playground: loosen restrictions on IPs permitted to share by Andrew Bonventre · 7 weeks ago

playground

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

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

Building

# build the image
docker build -t playground .

Running

docker run --rm -d -p 8080:8080 playground
# run go some code
cat /path/to/code.go | go run client.go | curl --data @- localhost:8080/compile

Deployment

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

Contributing

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