Catching return values from goroutines
Why is it not possible to fetch a return value from a goroutine assigning it to a variable? Run goroutine (asynchronously) and fetch return value from function are essentially contradictory actions. When you say go you mean “do it asynchronously” or even simpler: “Go on! Don’t wait for the function execution be finished”. But when … Read more