> $ go get -u github.com/uber/prototool/cmd/prototool
prototool.yaml
gen:
go_options:
import_path: my-service-path/
plugins:
- name: go
type: go
flags: plugins=grpc
output: .
> $ prototool gen
input.json is payload for gprc service
> $ cat input.json | prototool grpc myproto/myservice.proto 0.0.0.0:4000 mypackage.MyService/MyMethod -