checkdoc: fix generated code detection and flag
checkdoc: skip generated files in header check
checkdoc: fix panic when file has no comments
You can also use your local clone with
The checkdoc command scans Go packages for comment and documentation related
Currently the tool checks for:
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".