godoc-验证
验证代码中所有函数的简单 godoc 验证器具有 godoc 样式注释。
用法:
$ godoc-validate github.com/name/project
示例输出:
Analyzing template:
[W] makeParameter() is missing godoc
Processing 'ErrorGenerator' in package template:
[W] GenerateValue() is missing godoc
Processing 'FooGenerator' in package template:
[W] GenerateValue() is missing godoc
Processing 'TemplateProcessor' in package template:
[E] 'BlaPro
2021-07-12 14:04:27
2KB
Go
1