cmd/cover: comment to ignore files for coverage #34639
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FeatureRequest
Issues asking for a new feature that does not need a proposal.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
For some classifications of generated code it is a necessity to have the output file be in the same folder and package as the source go file (for instance generating methods on types in the source files).
However, this means that the generated code is counted when doing coverage. Which is sometimes undesirable since it is there but you don't test the whole thing.
The text was updated successfully, but these errors were encountered: