mirror of https://github.com/grpc/grpc.io.git
go: Update basics.md - Format file extensions in code font (#1167)
This commit is contained in:
parent
50a7a9906e
commit
4c9e859bac
|
|
@ -57,7 +57,7 @@ define the gRPC *service* and the method *request* and *response* types using
|
|||
For the complete `.proto` file, see
|
||||
[routeguide/route_guide.proto](https://github.com/grpc/grpc-go/blob/master/examples/route_guide/routeguide/route_guide.proto).
|
||||
|
||||
To define a service, you specify a named `service` in your .proto file:
|
||||
To define a service, you specify a named `service` in your `.proto` file:
|
||||
|
||||
```proto
|
||||
service RouteGuide {
|
||||
|
|
@ -118,7 +118,7 @@ all of which are used in the `RouteGuide` service:
|
|||
rpc RouteChat(stream RouteNote) returns (stream RouteNote) {}
|
||||
```
|
||||
|
||||
Our .proto file also contains protocol buffer message type definitions for all
|
||||
Our `.proto` file also contains protocol buffer message type definitions for all
|
||||
the request and response types used in our service methods - for example, here's
|
||||
the `Point` message type:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue