Have you tried building with the -race flag? go build - race
This should help you figure out any data race conditions that may occur. -- 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 golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/1211e33f-f835-4d4f-bcc8-3fb1360ea4df%40www.fastmail.com. For more options, visit https://groups.google.com/d/optout.