|
|
||
|---|---|---|
| biz | ||
| configs | ||
| idl | ||
| internal | ||
| .gitignore | ||
| .hz | ||
| README.md | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| router.go | ||
| router_gen.go | ||
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 就会更新新加的内容