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
When running zenrpc in a package that both defines and imports a zenrpc.Service type, then it will generate (incorrect) code for the imported services.
When generating the code in cmd/mycmd then it will generate code for Service (which does not exist in the package) as well as FooService, which does exist. It will also, for some reason, import encoding/json twise. Either way, the result is invalid code.
When running zenrpc in a package that both defines and imports a
zenrpc.Service
type, then it will generate (incorrect) code for the imported services.I.e. if having:
When generating the code in
cmd/mycmd
then it will generate code forService
(which does not exist in the package) as well as FooService, which does exist. It will also, for some reason, importencoding/json
twise. Either way, the result is invalid code.Maybe related with #35?
The text was updated successfully, but these errors were encountered: