Inspectopedia Help

Exported element should have a comment

Reports exported declarations without a documentation comment. According to Doc Comments at, all top-level exported names should have doc comments.

Also, for more information about comment sentences, see Comment Sentences at

To add a comment, you can apply the Add comment quick-fix.

Inspection Details

Available in:

GoLand 2023.3



Last modified: 13 July 2023