Open rushwing opened 1 year ago
kitex_gen is not generated due to the -use option
this is not error msg, just tell you kitex_gen is not generated, because you use -use
option
kitex_gen is not generated due to the -use option
this is not error msg, just tell you kitex_gen is not generated, because you use
-use
option
https://github.com/cloudwego/kitex-examples/issues/30 I referred to this thread which said that we could use "-use" parameter to specify the import path.
So If I want to use "-use" parameter, I need to:
Correct me if I had something wrong.
could you tell me what is your requirement?
-use
just for the scenario that you don't want to generate kitex_gen in your project, you can specify another repository
There would be more than one service in my project, but all of them included in one module. I want to generate the kitex_gen folder in the root folder of the project, rather than in each service folder. Just like the easynote demo project.
If I use default command to generate: kitex -module xxxx -service xxxx xxx.idl The kitex_gen folder would be generated under the service folder, rather than in the root folder of the project.
if you exec kitex tool in your root folder, then all service code will be generated together, and which subpackage depends on your idl definition namespace go
Describe the bug
Generate code with "-use" flag failed, error message: "kitex_gen is not generated due to the -use option"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected the project to be generated as the following layout:
Screenshots
N/A
Kitex version:
v0.4.2
Environment:
The output of
go env
:Additional context
verbose log: