In-reply-to » Go 1.22.0 introduces a new experiment for range functions. Have you tried them out? What do you think it can make easier to accomplish?

The range function can signal when to stop running by returning false from the yield function.

Download

⤋ Read More