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.
Can't test error against poll.TimeoutError #39971
What version of Go are you using (
You didn't say why you want to do that (i.e., this is an XY problem), but I would guess that what you are trying to do is fixed in the upcoming Go 1.15 release via the new error