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目录下生成文件 #15

Open
gaoyangy opened this issue Jul 24, 2022 · 0 comments
Open

关于在指定的proto目录下生成文件 #15

gaoyangy opened this issue Jul 24, 2022 · 0 comments

Comments

@gaoyangy
Copy link

目前测试存在这样的问题
比如在 a目录下存在b c 两个proto文件 里面的package是a/b a/c 采用 --go_out=paths=source_relative:./apis/ 会把a/b 和a/c 生成在a的目录下,但是 a/b a/c是两个service文件就会造成 同一个包下有两个 包名称
存在bug 同一个目录下的proto必须是一个package 否则生成出来的就是不对的

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

1 participant