Have you tried running the complete code under the race detector? The race could be in your own code, rather than the library itself (which is rather widely used, to say the least).
https://go.dev/doc/articles/race_detector https://go.dev/blog/race-detector -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/624265bc-bf59-4cde-a472-8d69d56a0a6an%40googlegroups.com.
