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: package documentation doesn't tell that only exported fields of a struct are encoded #4579
It's not written on the page http://golang.org/pkg/encoding/gob/ that the unexported fields of a structure will not be serialized. I took me some time to find the thread  where it is explained (it is also very quickly said in the json package doc).  https://groups.google.com/d/topic/golang-nuts/0jXG-5Y6VJA/discussion