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
encoding/gob: should report if a name is registered or not. #8779
It would be nice to have a logical function to go with gob.Register() that reports back if an object is actually registered. This would help establish if encoding of a given object is actually going to be readable on the other end or not. I attached a terrible, poorly written and completely untested conceptual patch to show my intentions.