Sunday, 15 September 2013

Why can't I use type []chan *Message as type []chan interface{} in a function argument?

Why can't I use type []chan *Message as type []chan interface{} in a
function argument?

This is the error message I am getting:
cannot use c.ReceiverChans (type []chan *Message) as type []chan interface
{} in function argument

No comments:

Post a Comment