Skip to content

Commit

Permalink
example: improve hello world server with starting msg
Browse files Browse the repository at this point in the history
  • Loading branch information
dkkb committed May 20, 2021
1 parent 3dd75a6 commit e37858e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/helloworld/greeter_server/main.go
Expand Up @@ -50,6 +50,7 @@ func main() {
}
s := grpc.NewServer()
pb.RegisterGreeterServer(s, &server{})
log.Printf("server listening at %v\n", lis.Addr())
if err := s.Serve(lis); err != nil {
log.Fatalf("failed to serve: %v", err)
}
Expand Down

0 comments on commit e37858e

Please sign in to comment.