Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rcme
on July 17, 2023
|
parent
|
context
|
favorite
| on:
Coroutines for Go
Depends how getNext is defined.
alphazard
on July 17, 2023
|
next
[–]
The only way to do control flow in getNext, consistent with how you partially defined it, is to panic. That means there is some important code wrapping the whole loop body that you left out.
zeroxfe
on July 17, 2023
|
prev
[–]
That doesn't make sense. `getNext()` has no ability to break out of the loop.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: