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.
Diff Revision 6
This is not the most recent revision of the diff. The latest diff is revision 8. See what's changed.
orig
1
2
3
4
5
6
7
8
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 |
---|