kitex_zorm

command module
v0.0.0-...-0bdcf1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

kitex_zorm

Introduce

A demo with Kitex and Zorm

  • Use thrift IDL to define RPC interface
  • Use kitex to generate code
  • Use Zorm and MySQL

IDL

This demo use thrift IDL to define RPC interface. The specific interface define in user.thrift

Code generation tool

This demo use kitex to generate code. The use of kitex refers to kitex

The kitex commands used can be found in Makefile

Zorm

This demo use Zorm to operate MySQL and refers to Zorm

How to run

Run mysql docker
cd bizdemo/kitex_zorm && docker-compose up
Run demo
cd bizdemo/kitex_zorm
go build -o kitex_zorm && ./kitex_zorm

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
dao
kitex_gen
user/userservice
Code generated by Kitex v0.8.0.
Code generated by Kitex v0.8.0.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL