Contexts are great. And if your goal is to solve a specific problem, then 
sometimes they may be the best solution. But you implied in your OP that 
you were learning go. And in that case, I would still urge you to 
understand your original channel based code, and why it does not work, and 
how to make it work. 

On Thursday, February 27, 2020 at 2:29:24 PM UTC-5, Juan Mamani wrote:
>
> Hi Brian,
>
> Thanks for your help.  I will try out  to implement your samples in my 
> project.
> But still studying Goroutines and now Context.
>
>
>
> El miércoles, 26 de febrero de 2020, 10:41:26 (UTC-3), Brian Candler 
> escribió:
>>
>> Perhaps slightly clearer:
>> https://play.golang.org/p/DDZxqaEFi-T
>>  
>>
>

-- 
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/985b1bf1-dded-485a-be48-eaa7215b8f3d%40googlegroups.com.

Reply via email to