chore: update protobuf * gRPC toolchains

This commit is contained in:
Nex
2020-09-22 16:21:24 +08:00
parent c331546099
commit bd3165747c
4 changed files with 22 additions and 29 deletions

View File

@@ -18,7 +18,7 @@ for %%A in (%*) do (
set out=%gen%\go
if not exist !out! mkdir !out!
echo Generating Go code
!exec! --go_out=plugins=grpc:!out! --govalidators_out=!out! %pbs%
!exec! --go-grpc_out=!out! --govalidators_out=!out! %pbs%
)
if "%%A"=="gohttp" (
set plugin=protoc-gen-grpc-gateway