- 将 RegisterService.Run 方法的请求参数类型从 RegisterResp 改为 RegisterReq - 更新 register_test.go 中的测试用例,使用正确的请求参数类型 - 修改 user.proto 中 Register rpc 的请求参数类型
*** Project
introduce
- Use the Kitex framework
- Generating the base code for unit tests.
- Provides basic config functions
- Provides the most basic MVC code hierarchy.
Directory structure
catalog | introduce |
---|---|
conf | Configuration files |
main.go | Startup file |
handler.go | Used for request processing return of response. |
kitex_gen | kitex generated code |
biz/service | The actual business logic. |
biz/dal | Logic for operating the storage layer |
How to run
sh build.sh
sh output/bootstrap.sh