goque
goque copied to clipboard
Fixed race condition
I have one goroutine that enqueues, and another that dequeues.
When running my tests I have a race condition. The changes I made should solve the problem.
Thank you for your work.