huangjiajun 718e965376 | 5 giorni fa | |
---|---|---|
app | 5 giorni fa | |
bin | 1 mese fa | |
cmd/task | 6 giorni fa | |
docs | 5 giorni fa | |
etc | 6 giorni fa | |
k8s | 1 settimana fa | |
static/html | 1 mese fa | |
test | 1 mese fa | |
.gitignore | 1 mese fa | |
Dockerfile | 1 settimana fa | |
Dockerfile-prd | 1 settimana fa | |
Dockerfile-task | 1 settimana fa | |
Makefile | 1 mese fa | |
README.md | 1 mese fa | |
build.sh | 2 settimane fa | |
cmd_db.bat | 1 mese fa | |
cmd_db.sh | 1 mese fa | |
cmd_run.bat | 1 mese fa | |
cmd_run.sh | 1 mese fa | |
cmd_task.bat | 1 mese fa | |
cmd_task.sh | 1 mese fa | |
dependencies.txt | 2 settimane fa | |
go.mod | 5 giorni fa | |
main.go | 3 settimane fa | |
wap.conf | 1 mese fa | |
zyos-mall-deployment.yaml | 1 mese fa |
蛋蛋星球后台管理项目
软件架构说明
> 参考: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
swag init -g main.go -o ./docs --parseDependency (swag 在生成文档时解析外部依赖包)