Generate client codes with protobuf IDL

kitex

  • 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>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

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

click the source code to copy