Gofmt Tool for Review Bot
Review Request #11265 — Created Nov. 4, 2020 and submitted — Latest diff uploaded
The tool is designed to be a lightweight solution capable of checking
whether a file is correctly formatted or not based ongo fmt
output.
Unfortunately, other go commands such asgo vet
are better suited to
inherit from the RepositoryTool, as they require the ability to check
entire packages to properly test and vet files.
Manual testing was done to confirm that
go fmt
is working correctly.