Skip to content

Commit

Permalink
docs: fix typos in ./go-zero.dev/en/shorturl-en.md
Browse files Browse the repository at this point in the history
  • Loading branch information
suravshrestha authored and kesonan committed Jul 1, 2024
1 parent 7e46611 commit a1c1c86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go-zero.dev/en/shorturl-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Let’s take the shorturl microservice as a quick example to demonstrate how to

A shorturl service is that it converts a long url into a short one, by well designed algorithms.

Writting this shorturl service is to demonstrate the complete flow of creating a microservice by using go-zero. But algorithms and detail implementations are quite simplified, and this shorturl service is not suitable for production use.
Writing this shorturl service is to demonstrate the complete flow of creating a microservice by using go-zero. But algorithms and detail implementations are quite simplified, and this shorturl service is not suitable for production use.

## 2. Architecture of shorturl microservice

Expand Down Expand Up @@ -401,7 +401,7 @@ Till now, we’ve done the modification of API Gateway. All the manually added c
source shorturl.sql;
```
* under the directory `rpc/transform/model` execute the following command to genrate CRUD+cache code, `-c` means using `redis cache`
* under the directory `rpc/transform/model` execute the following command to generate CRUD+cache code, `-c` means using `redis cache`
```shell
goctl model mysql ddl -c -src shorturl.sql -dir .
Expand Down Expand Up @@ -505,7 +505,7 @@ Till now, we’ve done the modification of API Gateway. All the manually added c
}
```
till now, we finished modifing the code, all the modified code is marked.
till now, we finished modifying the code, all the modified code is marked.
## 10. Call shorten and expand services
Expand Down

0 comments on commit a1c1c86

Please sign in to comment.