Start services in order according to dependencies
cd cmd/user
sh build.sh
sh output/bootstrap.sh
cd cmd/api
go build
go run .
-
Create your Thrift file in the
./idl
directory -
Enter the following command
kitex -module douyin -service "yourServiceName" ./idl/xxx.thrift
e.g.
kitex -module douyin -service user ./idl/user.thrift
- Move the following files/folders to the
./cmd/xxx/
directory
- script
- build.sh
- handler.go
- kitex.yaml
- main.go