commit | da85333e5bb1b5a5b219ea36384523c0a1e1e440 | [log] [tgz] |
---|---|---|
author | Yury Smolsky <yury@smolsky.by> | Wed Mar 14 23:34:13 2018 +0200 |
committer | Bryan C. Mills <bcmills@google.com> | Tue May 08 22:52:29 2018 +0000 |
tree | f02258011c5494824a651e1cdeb6586eb3e160ae | |
parent | f3bb33ce73761d45efe2ad95bad327850f5f2527 [diff] |
playground: add vet Playground runs a program through the "go vet" command and displays found errors before the output of a program. Vet check is performed for successfully compiled program only. Vet errors are highlighted in the code editor. Depends on the CL 107455. Fixes golang/go#7597 Fixes golang/go#24576 Change-Id: I316a4a66e701f2a179aeafc82efc8fe31a543c11 Reviewed-on: https://go-review.googlesource.com/100776 Reviewed-by: Bryan C. Mills <bcmills@google.com> Reviewed-by: Andrew Bonventre <andybons@golang.org>
This subrepository holds the source for the Go playground: https://play.golang.org/
# build the image docker build -t playground .
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
gcloud --project=golang-org --account=person@example.com app deploy app.yaml
To submit changes to this repository, see https://golang.org/doc/contribute.html.