20 lines
342 B
Plaintext
20 lines
342 B
Plaintext
; pin protoc version
|
|
[protoc]
|
|
version=v3.19.1
|
|
|
|
; go
|
|
[generate go]
|
|
json_tag_postproc=true
|
|
[generate go-grpc]
|
|
[generate grpc-gateway]
|
|
|
|
; swagger/openapiv2
|
|
[generate openapiv2]
|
|
out=./gen/json/{{ .Package }}
|
|
|
|
[generate ts] ; typescript
|
|
out=./gen/ts/{{ .Package }}
|
|
|
|
[generate grpc-gateway-ts] ; typescript
|
|
out=./gen/ts-gateway/{{ .Package }}
|