What version of Go are you using (go version)?
go version go1.6 linux/amd64
What operating system and processor architecture are you using (go env)?
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
What did you do?
I sent a *websocket.Conn on a websocket in JSON (by pure laziness, without caring about having it on the other side).
What did you expect to see?
I expected to get unmarshalling kind of working, even if the *websocket.Conn wouldn't work: I didn't really wanted to get this information on the other side, but it was part of a struct I wanted to send over the wire.
If I put this *websocket.Conn to nil, then I don't get problems on the other side.