Graham Barr
Graham Barr
> I see that the stdlib sometimes uses the suffix Seq() to indicate methods that returns iterators. I suggest to think a bit more if Iterate() is the appropriate name...
> @kyleconroy What do you think about the Close method? I still haven't decided if it's necessary. I do not think the `Close` method is needed, but the `func` returned...
> > I found these in the release notes for Go 1.24. The [bytes](https://tip.golang.org/pkg/bytes) package adds several functions that work with iterators > > Following this example, it seems more...
The problem with using Seq2 that returns err is that if the code `break`s out of the loop, any error returned from the call `r.Close()` is lost as there is...
Thanks @ignat980 this looks a much more complete solution than I was expecting
> `WithRouteTag` can probably be deprecated and removed. ~~If removing `WithRouteTag` then an option should be added to control if `http.route` is added to metrics so that it does not...