mirror of
https://github.com/TECHNOFAB11/powerproto.git
synced 2025-12-12 08:00:04 +01:00
docs(readme): update readme
Signed-off-by: storyicon <yuanchao@bilibili.com>
This commit is contained in:
parent
4f4006ee7d
commit
aed8ad1615
6 changed files with 11 additions and 11 deletions
|
|
@ -235,7 +235,7 @@ $POWERPROTO_HOME/protoc/3.17.3/protoc --go_out=. \
|
||||||
/mnt/data/hello/apis/hello.proto
|
/mnt/data/hello/apis/hello.proto
|
||||||
```
|
```
|
||||||
|
|
||||||
More examples can be found in `https://github.com/storyicon/powerproto/tree/master/examples`.
|
More examples can be found in [examples](https://github.com/storyicon/powerproto/tree/master/examples).
|
||||||
|
|
||||||
|
|
||||||
## Config File
|
## Config File
|
||||||
|
|
|
||||||
|
|
@ -223,7 +223,7 @@ $POWERPROTO_HOME/protoc/3.17.3/protoc --go_out=. \
|
||||||
/mnt/data/hello/apis/hello.proto
|
/mnt/data/hello/apis/hello.proto
|
||||||
```
|
```
|
||||||
|
|
||||||
更多的例子可以参考 `https://github.com/storyicon/powerproto/tree/master/examples`.
|
更多的例子可以参考 [示例](https://github.com/storyicon/powerproto/tree/master/examples).
|
||||||
|
|
||||||
|
|
||||||
## 配置文件
|
## 配置文件
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
This is the simplest grpc example, which does not reference any external grpc libraries.
|
This is the simplest grpc example, which does not reference any external grpc libraries.
|
||||||
|
|
||||||
The following plug-ins are used:
|
The following plug-ins are used:
|
||||||
* [protoc-gen-go](google.golang.org/protobuf/cmd/protoc-gen-go)
|
* [protoc-gen-go](https://google.golang.org/protobuf/cmd/protoc-gen-go)
|
||||||
* [protoc-gen-go-grpc](google.golang.org/grpc/cmd/protoc-gen-go-grpc)
|
* [protoc-gen-go-grpc](https://google.golang.org/grpc/cmd/protoc-gen-go-grpc)
|
||||||
|
|
||||||
You can compile the proto file in this directory by executing the following command:
|
You can compile the proto file in this directory by executing the following command:
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ This example uses the following public libraries:
|
||||||
* [gogoproto](https://github.com/gogo/protobuf/tree/master/gogoproto)
|
* [gogoproto](https://github.com/gogo/protobuf/tree/master/gogoproto)
|
||||||
|
|
||||||
The following plug-ins are used:
|
The following plug-ins are used:
|
||||||
* [protoc-gen-gogo](github.com/gogo/protobuf/protoc-gen-gogo)
|
* [protoc-gen-gogo](https://github.com/gogo/protobuf/protoc-gen-gogo)
|
||||||
* [protoc-gen-grpc-gateway](github.com/grpc-ecosystem/grpc-gateway)
|
* [protoc-gen-grpc-gateway](https://github.com/grpc-ecosystem/grpc-gateway)
|
||||||
|
|
||||||
You can compile the proto file in this directory by executing the following command:
|
You can compile the proto file in this directory by executing the following command:
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ This example uses the following public libraries:
|
||||||
* [gogoproto](https://github.com/gogo/protobuf/tree/master/gogoproto)
|
* [gogoproto](https://github.com/gogo/protobuf/tree/master/gogoproto)
|
||||||
|
|
||||||
The following plug-ins are used:
|
The following plug-ins are used:
|
||||||
* [protoc-gen-gofast](github.com/gogo/protobuf/protoc-gen-gofast)
|
* [protoc-gen-gofast](https://github.com/gogo/protobuf/protoc-gen-gofast)
|
||||||
* [protoc-gen-grpc-gateway](github.com/grpc-ecosystem/grpc-gateway)
|
* [protoc-gen-grpc-gateway](https://github.com/grpc-ecosystem/grpc-gateway)
|
||||||
|
|
||||||
You can compile the proto file in this directory by executing the following command:
|
You can compile the proto file in this directory by executing the following command:
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ This example uses the following public libraries:
|
||||||
* [googleapis](https://github.com/googleapis/googleapis)
|
* [googleapis](https://github.com/googleapis/googleapis)
|
||||||
|
|
||||||
The following plug-ins are used:
|
The following plug-ins are used:
|
||||||
* [protoc-gen-go](google.golang.org/protobuf/cmd/protoc-gen-go)
|
* [protoc-gen-go](https://google.golang.org/protobuf/cmd/protoc-gen-go)
|
||||||
* [protoc-gen-go-grpc](google.golang.org/grpc/cmd/protoc-gen-go-grpc)
|
* [protoc-gen-go-grpc](https://google.golang.org/grpc/cmd/protoc-gen-go-grpc)
|
||||||
* [protoc-gen-grpc-gateway](github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway)
|
* [protoc-gen-grpc-gateway](https://github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway)
|
||||||
|
|
||||||
You can compile the proto file in this directory by executing the following command:
|
You can compile the proto file in this directory by executing the following command:
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue