Re: [go-nuts] Needing some explanation of a compile time error

2017-09-28 Thread Dan Kortschak
StringChan and StringSendingChan are named types and so you will need a conversion. It would be easier though to just not declare types here. You don't need them. https://play.golang.org/p/0dBHgsaP0v On Thu, 2017-09-28 at 17:19 -0700, lmumar wrote: > Hi all, > > Good day to you all. I just recen

[go-nuts] Needing some explanation of a compile time error

2017-09-28 Thread lmumar
Hi all, Good day to you all. I just recently coded again in Go after trying out other languages. I went back to Go because it's easy and straightforward. I was going through a tutorial related to channels and tried something different by declaring my channels with type statement but I hit a com