The checkdoc command scans Go packages for comment and documentation related issues.
https://mellium.im/checkdoc/
ci/woodpecker/push/dco Pipeline was successful
Details
ci/woodpecker/push/validate Pipeline failed
Details
ci/woodpecker/push/test Pipeline was successful
Details
ci/woodpecker/tag/dco Pipeline was successful
Details
ci/woodpecker/tag/test Pipeline was successful
Details
ci/woodpecker/tag/validate Pipeline failed
Details
This fixes an error in older versions of golang.org/x/tools where sometimes packages would fail to load. See https://golang.org/issues/37617 Signed-off-by: Sam Whited <sam@samwhited.com> |
||
---|---|---|
.woodpecker | ||
.gitignore | ||
LICENSE | ||
README.md | ||
analyzer.go | ||
go.mod | ||
go.sum | ||
header.go | ||
main.go | ||
tools.go |
README.md
checkdoc
The checkdoc
command scans Go packages for comment and documentation related
lints.
Currently the tool checks for:
- Packages that are missing documentation comments
- Exported identifiers that are missing documentation comments
- Malformed or missing canonical import comments
- Missing file header comments
If you'd like to contribute to the project, see CONTRIBUTING.md.
License
The package may be used under the terms of the BSD 2-Clause License a copy of which may be found in the file "LICENSE".