On Wed, Sep 17, 2014 at 8:27 AM, makkalot <
makkal...@gmail.com> wrote:
> Thanks for your answer. How do you write generic code that includes channels
> then ?
> It is possible to do the same with other types, like writing the generic
> version (with interface{})
> and then writing the specialized version which does the conversion from
> interface to/from your type.
> Something like merging a slice of channels into a single channel seems
> something like reusable to me,
> at least i use it very often. Probably there are some other reusable
> patterns too. What is the way to do
> that, copy/paste ?