mirror of
https://github.com/TECHNOFAB11/powerproto.git
synced 2025-12-11 23:50:04 +01:00
feat(*): support perComandTimeout & variables in options
Signed-off-by: storyicon <yuanchao@bilibili.com>
This commit is contained in:
parent
7b2c0762d4
commit
15047711a9
15 changed files with 302 additions and 122 deletions
|
|
@ -266,6 +266,7 @@ plugins:
|
|||
protoc-gen-go-json: github.com/mitchellh/protoc-gen-go-json@v1.0.0
|
||||
protoc-gen-grpc-gateway: github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.5.0
|
||||
# 必填,定义了编译proto文件时 protoc 的参数
|
||||
# 在options里,你仍然可以像在 importPaths 中一样使用像 $GOPATH、$SOURCE_RELATIVE、$GOGO_PROTOBUF这样的变量
|
||||
options:
|
||||
- --go_out=paths=source_relative:.
|
||||
- --go-json_out=.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue