wgliang / goreporter
- суббота, 8 апреля 2017 г. в 03:11:56
Go
A Golang tool that does static analysis, unit testing, code review and generate code quality report.
A Golang tool that does static analysis, unit testing, code review and generate code quality report. This is a tool that concurrently runs a whole bunch of those linters and normalises their output to a report:
-t <file>
.There are two options for installing goreporter.
go get -u github.com/wgliang/goreporter/tree/version-1.0.0
.
I will generally only tag a new stable version when it has passed the Travis regression tests.
The downside is that the binary will be called goreporter.version-1.0.0
.go get -u github.com/wgliang/goreporter
.
This has the downside that changes to goreporter may break.Install goreporter (see above).
Run it:
$ goreporter -p [projtectRelativelyPath] -d [reportPath] -e [exceptPackagesName] -r [json/html] {-t templatePathIfHtml}
$ goreporter -p ../goreporter -d ../goreporter -t ./templates/template.html
you can see result detail:Example-Report
Templates is designed by liufeifei
Logo is desigend by xuri