A demo with Kitex and Zorm
- Use
thriftIDL to defineRPCinterface - Use
kitexto generate code - Use
ZormandMySQL
This demo use thrift IDL to define RPC interface. The specific interface define in user.thrift
This demo use kitex to generate code. The use of kitex refers
to kitex
The kitex commands used can be found in Makefile
This demo use Zorm to operate MySQL and refers to Zorm
cd bizdemo/kitex_zorm && docker compose upcd bizdemo/kitex_zorm
go build -o kitex_zorm && ./kitex_zorm