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

feat(cmd/gf): add gopackage option for command gf gen pbentity to specify go_package for generated proto files #4141

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

lazyjean
Copy link
Contributor

当自定义 pbentity 包名后,这个包名会同时应用于 proto 文件包名和 option go_package 名,这两个名字本身命令规范是不一样的,所以生成的文件存在问题。这里新增 goPackage 配置项来指定 go_package 名

@gqcn gqcn changed the title feat: gf gen pbentity 命令支持配置 goPackage 来指定 proto 文件中 go_package 名称 feat(cmd/gf): add gopackage option for command gf gen pbentity to specify go_package for generated proto files Feb 14, 2025
@gqcn gqcn changed the title feat(cmd/gf): add gopackage option for command gf gen pbentity to specify go_package for generated proto files feat(cmd/gf): add gopackage option for command gf gen pbentity to specify go_package for generated proto files Feb 14, 2025
@gqcn gqcn merged commit 42d8845 into gogf:master Feb 14, 2025
17 checks passed
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

Successfully merging this pull request may close these issues.

2 participants