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