Hacker News new | ask | show | jobs
by ttz 280 days ago
Yep - my point was that _test is not the only exception to the "rule"
1 comments

No, there is no exception for the "main" package. It's just build tag trickery. You can do this with any package names (although it doesn't make much sense to do so).
Ah, I see what you're objecting to. Yes, it is build tag trickery, and wouldn't work without it