Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encoding/gob: should report if a name is registered or not. #8779

gopherbot opened this issue Sep 19, 2014 · 1 comment


Copy link

commented Sep 19, 2014


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.


  1. gob.patch (1806 bytes)

This comment has been minimized.

Copy link

commented Sep 19, 2014

Comment 1:

Labels changed: added repo-main, release-none.

@gopherbot gopherbot added new labels Sep 19, 2014

@bradfitz bradfitz removed the new label Dec 18, 2014

@rsc rsc added this to the Unplanned milestone Apr 10, 2015

@rsc rsc removed release-none labels Apr 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.