为本地项目/私人git运行报告卡

问题描述 投票:1回答:1

我想使用go report,但我的项目是私人回购。可能吗 ?或在本地项目(在我的机器上)

https://goreportcard.com/

我想验证我是否正确,我目前无法删除私人限制。

go
1个回答
3
投票

您可以通过在本地运行以下文件检查程序和linters来获得相同的结果:

gofmt go_vet gocyclo golint ineffassign license misspell

所有这些都可以从命令行运行。

如果你想拥有一个工具我会推荐gometalinter。 https://github.com/alecthomas/gometalinter

go get -u github.com/alecthomas/gometalinter gometalinter --install gometalinter --deadline=90s --disable-all ... #other flags

© www.soinside.com 2019 - 2024. All rights reserved.