suyiiyii 1414be406d
refactor: 更新 Consul 服务地址配置
- 将配置文件中的 Consul 地址从具体 IP 修改为通用的 consul:8500
- 修改相关代码中的 Consul 解析地址为 consul:8500
-此更改提高了配置的可移植性和一致性,适用于开发、测试和生产环境
2025-01-21 21:51:34 +08:00
..
2025-01-20 16:22:41 +08:00
2025-01-20 16:22:41 +08:00
2025-01-20 16:22:41 +08:00
2025-01-20 16:22:41 +08:00
2025-01-20 16:22:41 +08:00
2025-01-20 16:22:41 +08:00
2025-01-20 16:22:41 +08:00
2025-01-20 16:22:41 +08:00

*** 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