commit | 3d026bc2faf88ab127db2056269a3ddd0374d679 | [log] [tgz] |
---|---|---|
author | Andrew Bonventre <andybons@golang.org> | Wed Dec 27 12:37:14 2017 -0500 |
committer | Andrew Bonventre <andybons@golang.org> | Wed Dec 27 19:09:33 2017 +0000 |
tree | de551e2aa280844ee18425e352b4552cafa79007 | |
parent | fa48acca51664f9faf74caa6f0eb28f8d9b37667 [diff] |
playground: ensure that any inserted snippets do not index the Body property Cloud datastore seems to think that the Body property is indexed, even though at the time of thie writing there are no indexes present for the Snippet entity type. This could be because there are Snippet entities in the datastore where the Body property type is string, which incurs an index. While we wait for a more definitive answer (bug filed internally), set the noindex option on the Body property, even though byte slices are automatically marked as noindex according to the documentation. Fixes golang/go#23253 Change-Id: I68ed193402a9a9140001b19e6cef7d49fa982036 Reviewed-on: https://go-review.googlesource.com/85516 Reviewed-by: Brad Fitzpatrick <bradfitz@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.