4 ms·
An example of the duplicate issue: https://stackoverflow.com/questions/41148357/force-kill-goroutine-after-timeout https://stackoverflow.com/questions/41148357/
by cdoxsey 8y ago
An example of the duplicate issue: https://stackoverflow.com/questions/41148357/force-kill-goroutine-after-timeout https://stackoverflow.com/questions/41148357/force-kill-goro...
The user's question seemed like a fairly standard one: how can I force kill a goroutine. But actually there was a question underneath it. The issue wasn't that they needed to kill the goroutine it was that the library they were using didn't have a mechanism for timeouts.
The sad thing was there was a PR available that fixed the problem.
Its like arguing with someone who takes everything you say completely literally and makes no attempt at a charitable interpretation.