Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: ignore packages with all files skipped due to 'package documentation' when matching wildcards #38678
What version of Go are you using (
This behavior has been present since at least CL 4433047, 9 years ago.
We presumably cannot change it at this point, since un-ignoring these files could break existing packages. We would need to gate the change on the
I think the most we can do without an invasive breaking change is to document the current behavior.