http框架hertz demo 官方文档
go install github.com/cloudwego/hertz/cmd/hz@latest
mkdir demo
cd demo
hz new --module ${go_module_name} --idl ${idl_path} --service ${service_name}
go mod edit -replace github.com/apache/thrift=github.com/apache/thrift@v0.13.0
go mod tidy
sh build.sh