mirror of
https://github.com/zeromicro/zero-doc.git
synced 2025-01-23 01:30:28 +08:00
docs: fix typos in docs/zero/bookstore-en.md
This commit is contained in:
parent
b3dbe2345d
commit
5dab038fa3
@ -27,9 +27,9 @@ Let’s take the shorturl microservice as a quick example to demonstrate how to
|
||||
|
||||
## 1. What is a bookstore service
|
||||
|
||||
For simplicity, the bookstore service only contains two functionalities, adding books and quering prices.
|
||||
For simplicity, the bookstore service only contains two functionalities, adding books and querying prices.
|
||||
|
||||
Writting this bookstore 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 bookstore service is not suitable for production use.
|
||||
Writing this bookstore 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 bookstore service is not suitable for production use.
|
||||
|
||||
## 2. Architecture of shorturl microservice
|
||||
|
||||
@ -443,7 +443,7 @@ Till now, we’ve done the modification of API Gateway. All the manually added c
|
||||
source book.sql;
|
||||
```
|
||||
|
||||
* under the directory `rpc/model` execute the following command to genrate CRUD+cache code, `-c` means using `redis cache`
|
||||
* under the directory `rpc/model` execute the following command to generate CRUD+cache code, `-c` means using `redis cache`
|
||||
|
||||
```shell
|
||||
goctl model mysql ddl -c -src book.sql -dir .
|
||||
@ -539,7 +539,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.
|
||||
|
||||
## 11. Call shorten and expand services
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user