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
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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.