Suppose I have an array of items that implement an interface Reader:
var items []Foo
How would I pass these items into a function that takes readers?
func (items []Reader) { ... }
I can't use the type []Reader because I get an error like:
Cannot use type `[]Foo` as type `[]Reader`...
io.Readerforinterface{}when reading).