I'm working on an application that could iteratively fetch a large number
of items from the web.
The existing Python version returns a list and a boolean, indicating that
there is more to fetch.
I'm thinking about returning a 'chan<- *Item' and pushing the items as they
come in. The problem is error handling. I would hate to panic over some
http error. Would it be really dumb to return a chan <- error as well and
push an error if one occurs?
That is the function would look like FetchItems(collectionName string)
(chan<- Item, chan<- error)