Skip to content

yxq98/hz_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hz_demo

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

About

http框架hertz demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published