Re: [go-nuts] Help me, i don't understand why

2016-09-05 Thread Matt Harden
Think about how you want your two goroutines to coordinate. Imagine you have two balls that you can throw back & forth between two people. These are like values passing through channels. How could you use the balls to help two people coordinate so that they say the numbers in order? Then translate

[go-nuts] Help me, i don't understand why

2016-09-05 Thread Ринат Галиев
Hi, i need to solve the task: Change the program so that the numbers 1 through 6 were printed to the console in order. Allowed to amend the sections of code that are marked commentary «// redact». https://play.golang.org/p/tUMlHWHfJE it is not work: https://play.golang.org/p/hW-9J5YfC4 i know,