golint错误检查以及 min-confidence 不同等级的错误提示
golint错误检查以及 min-confidence 不同等级的错误提示
未指出 min-confidence 在不同等级有不同区别的提示,默认都是严格显示的。当 mini-confidence 大于 1 时,所有错误都会被接受。
exported type T should have comment or be unexported
要暴露出去的结构体或者函数都应该写注释。
comment on exported type U should be of the form "U …"
原创
2020-11-06 11:03:01 ·
6724 阅读 ·
1 评论