gogo/grpc-example

AddUser method panics

sevein opened this issue · 1 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?