commit | 775ccc823313e537b6e869358d6de6256c34f47d | [log] [tgz] |
---|---|---|
author | Andrew Gerrand <adg@golang.org> | Tue Jan 06 12:59:05 2015 +1100 |
committer | Andrew Gerrand <adg@golang.org> | Tue Jan 06 13:21:49 2015 +1100 |
tree | d1b37c0eeab93141ef5ae45915315bf681ac3ecc | |
parent | d81d17d3c50e35cd84494076183d2c5330db4a39 [diff] |
app: add play.golang.org app This once lived at https://code.google.com/p/go-playground/ in a Mercurial repository. Change-Id: I3b30db983770e47ba9fe190fb5a600d026546db7
This subrepository holds the source for various packages and tools that support the Go playground: https://play.golang.org/
# build the sandbox image docker build -t sandbox sandbox/
# run the sandbox docker run -d -p 8080:8080 sandbox # get docker host ip, try boot2docker fallback on localhost. DOCKER_HOST_IP=$(boot2docker ip || echo localhost) # run go some code cat /path/to/code.go | go run ./sandbox/client.go | curl --data @- $DOCKER_HOST_IP:8080/compile
To submit changes to this repository, see http://golang.org/doc/contribute.html.