Re:Struct composition with Go
by Sphax on Friday May 22, 2015 @10:38AM
(#9588554)
You need quite a few more method to be a net.Conn actually: http://golang.org/pkg/net/#Conn. Easier to just overwrite the Write() method like this in that case.
[ Parent
| on HN ]
There are no comments on this comment yet.