kitex
kitex copied to clipboard
fix (tool/protoc) : import proto files prefix (#563)
What type of PR is this?
fix: A bug fix
What this PR does / why we need it (en: English/zh: Chinese):
en: fix the bug . when use proto and import the others proto will add packagePrefix and regenerate the pb.go zh: 修复 导入其他proto文件时会添加包前缀 并重新pb.go文件的问题
Which issue(s) this PR fixes:
#563
@marunrun kitex 现在会判断导入的 proto 里定义的 go_package 是否要把文件生成到当前目录的 kitex_gen 下面,是才回生成相关的 .pb.go 文件。你看看是不是解决了你的问题?