[mirror] The Go Playground
Switch branches/tags
Nothing to show
Clone or download
ysmolsky Dockerfile: include updated x/tools containing CL 141477
Updates golang/go#10590
Updates golang/go#25454

Change-Id: I807608979062f57268bf2b80edbd37d88e74b8f7
Reviewed-on: https://go-review.googlesource.com/c/142637
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Latest commit ed387e6 Oct 16, 2018
Permalink
Failed to load latest commit information.
static Merge sandbox and frontend into one service Dec 24, 2017
AUTHORS initial commit Dec 9, 2014
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests Mar 14, 2018
CONTRIBUTORS initial commit Dec 9, 2014
Dockerfile Dockerfile: include updated x/tools containing CL 141477 Oct 16, 2018
LICENSE initial commit Dec 9, 2014
Makefile playground: add program output caching Jan 3, 2018
PATENTS initial commit Dec 9, 2014
README.md README.md: update example commands and remove redundant text Apr 12, 2018
app.yaml playground: update app.yaml Jan 30, 2018
cache.go playground: add program output caching Jan 3, 2018
client.go Merge sandbox and frontend into one service Dec 24, 2017
codereview.cfg playground: add codereview.cfg Mar 18, 2015
edit.go playground: serve 404 for non-existent pages Aug 18, 2018
edit.html playground: mention vet in about text Oct 8, 2018
enable-fake-time.patch Merge sandbox and frontend into one service Dec 24, 2017
fake_fs.lst Merge sandbox and frontend into one service Dec 24, 2017
fmt.go playground: show consistent formatting of errors for gofmt mode Mar 7, 2018
logger.go Merge sandbox and frontend into one service Dec 24, 2017
main.go playground: specify memcache address via an env variable Jan 4, 2018
play.go playground: interleave standard output and error correctly Apr 13, 2018
play_test.go playground: interleave standard output and error correctly Apr 13, 2018
sandbox.go playground: make outcome of "Run" clearer Oct 16, 2018
server.go playground: refactor handleVet and handleCompile methods May 22, 2018
server_test.go playground: prevent caching memory-related runtime errors Aug 21, 2018
share.go playground: loosen restrictions on IPs permitted to share Jan 5, 2018
store.go Merge sandbox and frontend into one service Dec 24, 2017
vet.go playground: disable cgo when executing the vet tool Jul 11, 2018

README.md

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.