playground: disable cgo when executing the vet tool Go binary installed in Docker images is not built with CGO_ENABLED=0. "go vet" was failing for the programs that imported packages with cgo files. This change disables the usage of cgo files in the vet tool. Fixes golang/go#26307. Change-Id: I0ce117a94d34b0241d48f91cb8165ab38c47cc2d Reviewed-on: https://go-review.googlesource.com/123136 Reviewed-by: Brad Fitzpatrick <bradfitz@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.