dart: Update basics.md - Format file extensions in code font (#1166)

This commit is contained in:
Seetarama Raju 2023-08-24 21:33:17 +05:30 committed by GitHub
parent 67e5038dd4
commit 8858fcbcca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ gRPC.
By walking through this example you'll learn how to:
- Define a service in a .proto file.
- Define a service in a `.proto` file.
- Generate server and client code using the protocol buffer compiler.
- Use the Dart gRPC API to write a simple client and server for your service.
@ -50,10 +50,10 @@ interface code -- if you haven't, see [Quick start][] for setup instructions.
Our first step (as you'll know from the [Introduction to gRPC](/docs/what-is-grpc/introduction/)) is to
define the gRPC *service* and the method *request* and *response* types using
[protocol buffers](https://protobuf.dev/overview). You can see the
complete .proto file in
complete `.proto` file in
[`example/route_guide/protos/route_guide.proto`](https://github.com/grpc/grpc-dart/blob/master/example/route_guide/protos/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 {