WEQServer/README.md

14 lines
410 B
Markdown
Raw Normal View History

2025-10-31 02:23:35 +00:00
# WEQServer
2025-10-31 06:42:43 +00:00
全球天气和地震信息查询
## 安装框架
框架是 Hertz: https://www.cloudwego.io/zh/docs/hertz/getting-started/
安装hz工具: go install github.com/cloudwego/hertz/cmd/hz@latest
修改 idl/WeatherAndEarthquake.thrift 文件后,在根目录执行:
2025-11-03 07:38:27 +00:00
hz update -idl ./idl/WeatherAndEarthquake.thrift 就会更新新加的内容
## 安装 go-redis
go get github.com/go-redis/redis/v8