Add Go tool
Review Request #10302 — Created Nov. 1, 2018 and discarded — Latest diff uploaded
This patch adds a Go Tool to Review Bot for static analysis of Go code.
It makes use of the following two Go commands:
go tool vet
# static code analysis to find possible bugs or suspicious
constructs
gofmt
# formats the code
Manual tests. Successfuly adds issues at the right line numbers.
README.rst |
---|
bot/README.rst |
---|
bot/setup.py |
---|
bot/reviewbot/tools/go.py |
---|
docs/reviewbot/tools/gotool.rst |
---|
docs/reviewbot/tools/index.rst |
---|
extension/README.rst |
---|