grpc-go/examples/helloworld
Mikhail Mazurskiy 9319d72162
cmd/protoc-gen-go-grpc: use `Error()` since no formatting is performed (#8378)
2025-06-05 09:10:58 +05:30
..
greeter_client examples: update remaining uses of grpc.Dial to NewClient (#7248) 2024-05-21 14:14:17 -07:00
greeter_server .*: revive from unused_parameters (#7577) 2024-08-30 10:41:30 -07:00
helloworld cmd/protoc-gen-go-grpc: use `Error()` since no formatting is performed (#8378) 2025-06-05 09:10:58 +05:30
README.md examples: organize READMEs better (#6121) 2023-03-21 13:19:15 -07:00

README.md

gRPC Hello World

Follow these setup to run the quick start example:

  1. Get the code:

    $ go get google.golang.org/grpc/examples/helloworld/greeter_client
    $ go get google.golang.org/grpc/examples/helloworld/greeter_server
    
  2. Run the server:

    $ $(go env GOPATH)/bin/greeter_server &
    
  3. Run the client:

    $ $(go env GOPATH)/bin/greeter_client
    Greeting: Hello world
    

For more details (including instructions for making a small change to the example code) or if you're having trouble running this example, see Quick Start.