kitex Command Examples

Code generation tool provided by the Go RPC framework Kitex. Kitex accepts both thrift and protobuf IDLs, and supports generating a skeleton of a server side project. More information: https://www.cloudwego.io.

kitex {{path/to/IDL_file.thrift}}

kitex -module {{github.com/xx-org/xx-name}} {{path/to/IDL_file.thrift}}

kitex -type protobuf {{path/to/IDL_file.proto}}

kitex -service {{svc_name}} {{path/to/IDL_file.thrift}}