You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at: http://golang.org/pkg/net/rpc/
There are no mentions that a published type (type of object passed to Register) must be exported. There are only several mentions that methods must be exported.
However, when I try to register a non-exported type, it fails with:
2015/04/08 18:06:45 rpc.Register: type driver is not exported
I guess it is a documentation issue.
The text was updated successfully, but these errors were encountered:
Looking at:
http://golang.org/pkg/net/rpc/
There are no mentions that a published type (type of object passed to Register) must be exported. There are only several mentions that methods must be exported.
However, when I try to register a non-exported type, it fails with:
2015/04/08 18:06:45 rpc.Register: type driver is not exported
I guess it is a documentation issue.
The text was updated successfully, but these errors were encountered: