On Sun, May 5, 2019 at 12:54 PM Louki Sumirniy <louki.sumirniy.stal...@gmail.com> wrote: > > hang on, sorry to be so chatty on this but I'm learning a lot about handling > edge cases from this, so I need to comment further > > ok, I got it working for that test also: > > https://play.golang.org/p/nd_EuCSOWto > > I can tell by the fact you used the 'sync' keyword that you didn't in fact > test what you wrote, but the above completes the code and shows the condition > is handled.
It's not a keyword and it's used on line 9 https://play.golang.org/p/OhB8qZl2QLQ. I can tell by the fact that the compiler rejects unused imports. -- 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. For more options, visit https://groups.google.com/d/optout.