commit | b8833ac2d7f92ef63f3188e790ee75da56e34020 | [log] [tgz] |
---|---|---|
author | Francesc Campoy <campoy@golang.org> | Tue Jun 21 18:11:44 2016 -0700 |
committer | Francesc Campoy Flores <campoy@golang.org> | Wed Jun 22 01:28:45 2016 +0000 |
tree | 9a6bfc7c4f8329dd64db0da8a511f77609cc1bbc | |
parent | ac9505c2b618d00ed89d7c55556a4405a484c239 [diff] |
playground: add package from golang.org/x/talks This adds the package golang.org/x/talks/2016/applicative/google so Sameer's slide linked below will work correctly. https://talks.golang.org/2016/applicative.slide#34 Change-Id: I14254792babfe08a57719121377eaa525e78a340 Reviewed-on: https://go-review.googlesource.com/24320 Reviewed-by: Andrew Gerrand <adg@golang.org>
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.
gcloud preview app run app/app.yaml gcloud preview app run sandbox/app.yaml gcloud config set project golang-org gcloud preview app deploy app/app.yaml --version play gcloud preview app deploy sandbox/app.yaml --set-default
# sandbox docker push golang/playground-sandbox gcloud preview container replicationcontrollers create --config sandbox/kubernetes/controller.yaml gcloud preview container services create --config sandbox/kubernetes/service.yaml
# sandbox docker push golang/playground-sandbox gcloud compute instances create playground-sandbox-vm --image container-vm --metadata-from-file google-container-manifest=sandbox/container-vm.yaml