Re: [go-nuts] Golang Error - When marshelling data

2016-06-16 Thread Jakob Borg
2016-06-16 11:44 GMT+02:00 User123 : > json: unsupported type: <-chan struct {} A channel type is not serializable, as the error says. It's possible that older versions of Go just skipped this without generating an error, I don't know. If that's the case you may be able to continue getting that be

[go-nuts] Golang Error - When marshelling data

2016-06-16 Thread User123
The data I am trying to marshal contains serialized data. This data is received in http response. It works perfectly when I try in version 1.4.1/ 1.4.2. But when I try this to the latest version 1.6 it gives an error: *json: unsupported type: <-chan struct {}* Why is it so? I am not able to