Rename Handlers (#14)

This commit is contained in:
ben-toogood
2020-10-16 13:48:31 +01:00
committed by GitHub
parent 784ed763fd
commit d62a96310b
4 changed files with 39 additions and 24 deletions

View File

@@ -16,7 +16,7 @@ func main() {
)
// Register the handler against the server
pb.RegisterChatHandler(srv.Server(), handler.New())
pb.RegisterChatHandler(srv.Server(), new(handler.Chat))
// Run the service
if err := srv.Run(); err != nil {