marsevilspirit opened a new issue, #2966: URL: https://github.com/apache/dubbo-go/issues/2966
### ⚠️ Verification - [x] I have searched the [issues](https://github.com/apache/dubbo-go/issues) of this repository and believe that this is not a duplicate. - [x] I have searched the [release notes](https://github.com/amoylab/dubbo-go/releases) of this repository and believe that this is not a duplicate. ### 🎯 Solution Description This proposal aims to enable protoc-gen-go-triple to handle proto import statements and provide users with a clear and reliable set of best practices. ### 📋 Use Cases Assume the following directory structure: ``` your_project/ └── proto/ ├── greet/ │ └── v1/ │ ├── greet.proto # Include import "./common/common.proto"; │ └── common/ │ └── common.proto # Definition CommonRequest/Response └── google/ └── protobuf/ └── struct.proto # common.proto depends on this file. ``` Correct compilation command: ``` # Set the "proto" directory as the source root directory protoc -I=proto \ --go_out=. \ --go-triple_out=. \ proto/greet/v1/greet.proto proto/greet/v1/common/common.proto ``` ### ⚖️ Complexity & Risks _No response_ ### 🔗 External Dependencies _No response_ ### 📘 Additional Context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org