全球天气和地震信息查询
Go to file
pengyinjie bd849173d4 update: 导入日志插件,还需要熟悉 2025-10-31 19:28:46 +08:00
biz update: 导入日志插件,还需要熟悉 2025-10-31 19:28:46 +08:00
configs update: 导入日志插件,还需要熟悉 2025-10-31 19:28:46 +08:00
idl feat: 加入中间件和NoRoute设定 2025-10-31 17:23:44 +08:00
internal update: 导入日志插件,还需要熟悉 2025-10-31 19:28:46 +08:00
.gitignore 项目初始化 2025-10-31 14:42:43 +08:00
.hz 项目初始化 2025-10-31 14:42:43 +08:00
README.md 项目初始化 2025-10-31 14:42:43 +08:00
go.mod update: 导入日志插件,还需要熟悉 2025-10-31 19:28:46 +08:00
go.sum update: 导入日志插件,还需要熟悉 2025-10-31 19:28:46 +08:00
main.go update: 导入日志插件,还需要熟悉 2025-10-31 19:28:46 +08:00
router.go feat: 加入中间件和NoRoute设定 2025-10-31 17:23:44 +08:00
router_gen.go 项目初始化 2025-10-31 14:42:43 +08:00

README.md

WEQServer

全球天气和地震信息查询

安装框架

框架是 Hertz: https://www.cloudwego.io/zh/docs/hertz/getting-started/ 安装hz工具: go install github.com/cloudwego/hertz/cmd/hz@latest 修改 idl/WeatherAndEarthquake.thrift 文件后,在根目录执行: hz update -idl ./idl/WeatherAndEarthquake.thrift 就会更新新加的内容