goctl rpc protoc

Generate grpc code

Options

NameDescription
--branch <branch>The branch of the remote repo, it does work with --remote
--go-grpc_opt <go-grpc_opt>
--go-grpc_out <go-grpc_out>
--go_opt <go_opt>
--go_out <go_out>
--home <home>The goctl home path of the template, --home and --remote cannot be set at the same time, if they are, --remote has higher priority
--multiple, -mGenerated in multiple rpc service mode
--plugin <plugin>
--proto_path, -I <proto_path>
--remote <remote>The remote git repo of the template, --home and --remote cannot be set at the same time, if they are, --remote has higher priority The git repo directory must be consistent with the https://github.com/zeromicro/go-zero-template directory structure
--style <style>The file naming format, see [https://github.com/zeromicro/go-zero/tree/master/tools/goctl/config/readme.md]
--verbose, -vEnable log output
--zrpc_out <zrpc_out>The zrpc output directory