English | 简体中文
Waterdrop is a high performance micro-service framework based on gin and grpc. Waterdrop comes from (The Three Body Problem).
go get github.com/UnderTreeTech/waterdrop
Execute the following command to get waterdrop tool to help you boost your development progress
go get -u github.com/UnderTreeTech/waterdrop/tools/waterdrop
You can use waterdrop help
to find out how to use tools
You can generate protobuf codes but make sure you've already installed protc
and protoc-gen-go
.
Here we don't install the two plugins automatically because we are not sure which version you will choose.
waterdrop new your_project_name
new a standard layout projectwaterdrop protoc --grpc --swagger xx.proto
generate grpc code and swagger api filewaterdrop swagger serve xx.swagger.json
serve and browse swagger apiwaterdrop utgen xx.go
generate unit testswaterdrop upgrade
upgrade tool waterdrop
Contributions are always welcomed! You can start with the issues labeled with bug or feature.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。