Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
encoding/gob: panic: "unknown type in isZero" on unexported interface with custom en/decoder #7741
>What does 'go version' print? go version go1.2.1 windows/amd64 >What steps reproduce the problem? >If possible, include a link to a program on play.golang.org. 1. http://play.golang.org/p/0mCtREV3LC >What happened? Go panics: "panic: unknown type in isZero main.AnInterface" >What should have happened instead? Gob encoding should have proceeded. >Please provide any additional information below. This seems to make it impossible to have custom en/decoders on structs that contain an interface.