Arrays in gob package

4 views
Skip to first unread message

Sonia Keys

unread,
Dec 24, 2009, 2:59:44 AM12/24/09
to golang-nuts
I think there's a problem encoding arrays in the gob package. Strings
and byte arrays seem to work, but things like integers and floats
don't. I found TestArray in encoder_test.go and saw that it only
tested a string array. I changed it to int and the test failed.
Should I enter a bug on this? Do you need sample code?

Rob 'Commander' Pike

unread,
Dec 24, 2009, 3:03:53 AM12/24/09
to Sonia Keys, golang-nuts

Yes to both please.

-rob

Reply all
Reply to author
Forward
0 new messages