Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Kitex Generate - Create Go RPC Stubs | Online Free DevTools by Hexmos

Generate Go RPC stubs with Kitex. Create client and server code from Thrift and Protobuf IDLs using this code generation tool. Free online tool, no registration required.

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.

  • Generate client codes when a project is in $GOPATH:

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

  • Generate client codes when a project is not in $GOPATH:

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

  • Generate client codes with protobuf IDL:

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

  • Generate server codes:

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

See Also