commit | a5b4c53f6e8bdcafa95a94671bf2d1203365858b | [log] [tgz] |
---|---|---|
author | Yury Smolsky <yury@smolsky.by> | Sun May 20 10:57:22 2018 +0300 |
committer | Andrew Bonventre <andybons@golang.org> | Fri May 25 02:41:13 2018 +0000 |
tree | 5aef0f70620a3e2738ab2023925b976498ab7962 | |
parent | 1937f90a1bb43667aff4059b1bab13eb15121e8e [diff] |
playground.js: display vet errors when program has no output When program has no output and vet errors are encountered, initialize data.Events as an empty array. Fixes golang/go#25455. Change-Id: Icedd77685b784505da3bb6383629cdfa8b8b22e9 Reviewed-on: https://go-review.googlesource.com/113875 Run-TryBot: Yury Smolsky <yury@smolsky.by> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.