Sign up
Sign in
This function creates a channel of integers, and then launches a goroutine that sends 10 values on the channel, and then closes it. The function returns the channel, which can be used to iterate over the values.
David Lee
Dominic
Follow
--
Share
Does this solution negatively impact perf?
Tech fatigue? Nope. I love reading about new frameworks and languages and dabbling
Help
Status
About
Careers
Press
Blog
Privacy
Terms
Text to speech
Teams