mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
- Use an iterator instead of generating a whole slice when iterating on the selection. - Using an iterator allows to use a for-loop construct, instead of a lambda, which is a bit clearer - Do the filtering Find()'s selector, instead of in the loop, which doesn't matter much now that we're using an iterator, but it makes the code a bit more obvious/simpler, and likely reduces a bit the number of iterations. |
||
---|---|---|
.. | ||
readability.go | ||
readability_test.go | ||
testdata |