gogo / grpc-example

An example of using Go gRPC and tools from the greater gRPC ecosystem together with the GoGo Protobuf Project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AddUser method panics

sevein opened this issue · comments

Hi there! I really appreciate the time spent putting this example together - it's pretty awesome!

Testing it locally, I've found that the server panics in the AddUser method when I connect the client.

I managed to fix it by returning a &types.Empty{} instead of nil. I'm curious to know why that didn't happen to the person writing it! These are my changes: https://gist.github.com/sevein/ddbec1c4e00ea3c3e1c14c8efb5c335b.

Ah, this is because I recently updated the dependencies. Could you submit a pull request with your changes?