Skip to content

Commit

Permalink
Update shorturl-en.md, Fix spell error
Browse files Browse the repository at this point in the history
transofrm -> transform
Add remind about protoc, etcd-server
  • Loading branch information
yapinxxx authored and kesonan committed Jul 1, 2024
1 parent 5dab038 commit e7acdd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/shorturl-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ And now, let’s walk through the complete flow of quickly creating a microservi
rpc shorten(shortenReq) returns(shortenResp);
}
```

* use goctl to generate the rpc code, execute the following command in `rpc/transofrm`
* Confirm Protocol Buffer (protoc) whether have been installed
* use goctl to generate the rpc code, execute the following command in `rpc/transform`

```shell
goctl rpc protoc transform.proto --go_out=. --go-grpc_out=. --zrpc_out=.
Expand Down Expand Up @@ -260,8 +260,8 @@ And now, let’s walk through the complete flow of quickly creating a microservi
└── transformer
└── transformer.go
```

just run it, looks like:
* Confirm etcd-server is running
* just run it, looks like:

```shell
$ go run transform.go -f etc/transform.yaml
Expand Down

0 comments on commit e7acdd9

Please # to comment.