dengbiao 7a5a0e27a3 | 6 dagen geleden | |
---|---|---|
app | 6 dagen geleden | |
bin | 1 maand geleden | |
cmd/task | 6 dagen geleden | |
docs | 6 dagen geleden | |
etc | 6 dagen geleden | |
k8s | 1 week geleden | |
static/html | 1 maand geleden | |
test | 1 maand geleden | |
.gitignore | 1 maand geleden | |
Dockerfile | 1 week geleden | |
Dockerfile-prd | 1 week geleden | |
Dockerfile-task | 1 week geleden | |
Makefile | 1 maand geleden | |
README.md | 1 maand geleden | |
build.sh | 2 weken geleden | |
cmd_db.bat | 1 maand geleden | |
cmd_db.sh | 1 maand geleden | |
cmd_run.bat | 1 maand geleden | |
cmd_run.sh | 1 maand geleden | |
cmd_task.bat | 1 maand geleden | |
cmd_task.sh | 1 maand geleden | |
dependencies.txt | 2 weken geleden | |
go.mod | 6 dagen geleden | |
main.go | 3 weken geleden | |
wap.conf | 1 maand geleden | |
zyos-mall-deployment.yaml | 1 maand geleden |
蛋蛋星球后台管理项目
软件架构说明
> 参考: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 在生成文档时解析外部依赖包)