commit | e9fb1cd9b74f68b2dd4b1c91d359bfce02df60de | [log] [tgz] |
---|---|---|
author | Yury Smolsky <yury@smolsky.by> | Wed Mar 07 16:18:33 2018 +0200 |
committer | Andrew Bonventre <andybons@golang.org> | Wed Mar 07 20:02:06 2018 +0000 |
tree | 9480d01829acbb7807355de26ff3488c4be8b861 | |
parent | 5b79292eb67af1b141f863fa66705fdfc101b203 [diff] |
playground: show consistent formatting of errors for gofmt mode Fixed playground for the source.Format to append prog.go before the error. This fixes the error highlighting on the web page. Fixes golang/go#23201 Fixes golang/go#17187 Change-Id: I72b58190eb1edaf1b79ad61b5a4530b7d4fb73ee Reviewed-on: https://go-review.googlesource.com/99118 Reviewed-by: Andrew Bonventre <andybons@golang.org>
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.
# build the image docker build -t playground .
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
gcloud --project=golang-org --account=person@example.com app deploy app.yaml
To submit changes to this repository, see http://golang.org/doc/contribute.html.