cedec8b669
- 重新组织配置文件读取逻辑,提高代码可读性 - 添加远程配置获取测试 - 移除未使用的 godotenv 依赖
*** 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