Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何根据proto文件来生成其他cpp代码 #76

Open
zanlichard opened this issue Nov 8, 2023 · 1 comment
Open

如何根据proto文件来生成其他cpp代码 #76

zanlichard opened this issue Nov 8, 2023 · 1 comment

Comments

@zanlichard
Copy link

是使用trpc专有工具来生成,还是使用原始的protoc来生成?

@weimch
Copy link
Contributor

weimch commented Nov 8, 2023

使用专有工具生成 trpc-cmdline

有多个proto文件并且它们存在相互引用关系,可以参考基础教程 来组织

简单的调用命令为

trpc create -l cpp --protofile=forward.proto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants