- 在 go.mod 中添加了 OpenTelemetry 相关的依赖包 - 在 main.go 中初始化了 OpenTelemetry Provider- 更新了导入语句,增加了 OpenTelemetry 相关的包
*** 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