encode the whole slice and decode it. But if I encode an interface{} and
decode it as an interface{} it shows
Decode failed: gob: local interface type *interface {} can only be decoded from remote interface type; received concrete type int
One testing program is here: http://play.golang.org/p/wQ9VtbSkI5
Did I miss anything? thanks!
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.