Skip to content
public-library›Rules›Go›Separate package documentation from file headers

Separate package documentation from file headers

Attach a comment directly to the package clause only when it documents the whole package, and start it with Package <name>. Separate a comment about one file from the package clause with a blank line.

In the full rule