dengbiao 0f1b3792f7 | 4 months ago | |
---|---|---|
app | 4 months ago | |
bin | 4 months ago | |
cmd/task | 4 months ago | |
docs | 4 months ago | |
etc | 4 months ago | |
k8s | 4 months ago | |
static/html | 4 months ago | |
test | 4 months ago | |
.gitignore | 4 months ago | |
Dockerfile | 4 months ago | |
Dockerfile-task | 4 months ago | |
Makefile | 4 months ago | |
README.md | 4 months ago | |
build.sh | 4 months ago | |
cmd_dao.bat | 4 months ago | |
cmd_db.bat | 4 months ago | |
cmd_db.sh | 4 months ago | |
cmd_implement.bat | 4 months ago | |
cmd_run.bat | 4 months ago | |
cmd_run.sh | 4 months ago | |
cmd_task.bat | 4 months ago | |
cmd_task.sh | 4 months ago | |
go.mod | 4 months ago | |
main.go | 4 months ago | |
wap.conf | 4 months ago | |
zyos-mall-deployment.yaml | 4 months ago |
基于gin的接口小程序
软件架构说明
> 参考:https://segmentfault.com/a/1190000013808421
> swagger 命令行工具
go get -u github.com/swaggo/swag/cmd/swag
//go版本1.16之前使用该命令
go install github.com/swaggo/swag/cmd/swag
//go版本1.16版本以及之后的版本使用该命令
go install github.com/swaggo/swag/cmd/swag@latest
> swagger 依赖
go get "github.com/swaggo/files"
go get "github.com/swaggo/gin-swagger"
> 生成
swag init