I wanted to turn a pagination helper into a "clean" iterator with Go 1. 23's range syntax. Thirty seconds later: panic: range function continued iteration after function call returned false .
Source: [Dev.to](https://dev.to/ohugonnot/go-iterators-range-over-func-the-yield-contract-and-the-traps-270c)