On Mon, 25 Mar 2019 at 14:45, Glen Huang <hey....@gmail.com> wrote:

> Thanks for the reply, Sameer.
>
> Being able to directly send go types is a really big plus for me, I wonder
> if I really want to use gob, are there any recommended rpc choices?
>

Note that gob has at least one significant limitation when encoding Go
types - it doesn't know about pointers - in general it encodes a pointer by
omitting a field. So if you want to send a slice of a pointer type where
some elements can be nil, you're out of luck:
https://play.golang.org/p/ThVUT_M0hjR

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to