Oddbean new post about | logout
 @17044452 Channels seem too complicated to me for this use case. I would make a structure to hold the state for requests, and modify it within a goroutine. Then you can just kick them off (using the waitgroup for sync), and when they're done, the results & error states are easily accessible.

https://cdn.pawb.social/mastodon-pawb/media_attachments/files/111/147/119/143/382/671/original/14373dde8a46c6fd.jpeg 
 @c4da8ce3 Ah- that makes a lot more sense. I will think about it some more.