huangjiajun 208c52e563 | 18 hours ago | |
---|---|---|
app | 18 hours ago | |
bin | 1 month ago | |
cmd/task | 1 week ago | |
docs | 1 day ago | |
etc | 1 week ago | |
k8s | 1 week ago | |
static/html | 1 month ago | |
test | 1 month ago | |
.gitignore | 1 month ago | |
Dockerfile | 6 days ago | |
Dockerfile-task | 1 month ago | |
Makefile | 1 month ago | |
README.md | 3 weeks ago | |
build.sh | 3 days ago | |
cmd_db.bat | 1 month ago | |
cmd_db.sh | 1 month ago | |
cmd_run.bat | 1 month ago | |
cmd_run.sh | 1 month ago | |
cmd_task.bat | 1 month ago | |
cmd_task.sh | 1 month ago | |
dependencies.txt | 5 days ago | |
go.mod | 1 day ago | |
main.go | 1 week ago | |
wap.conf | 1 month ago | |
zyos-mall-deployment.yaml | 1 month 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 在生成文档时解析外部依赖包)