huangjiajun d7b487dce7 | 1 day ago | |
---|---|---|
app | 1 day ago | |
bin | 5 days ago | |
cmd/task | 5 days ago | |
docs | 1 day ago | |
etc | 4 days ago | |
k8s | 4 days ago | |
static/html | 5 days ago | |
test | 5 days ago | |
.gitignore | 5 days ago | |
Dockerfile | 1 day ago | |
Dockerfile-task | 5 days ago | |
Makefile | 5 days ago | |
README.md | 5 days ago | |
build.sh | 4 days ago | |
cmd_db.bat | 5 days ago | |
cmd_db.sh | 5 days ago | |
cmd_run.bat | 5 days ago | |
cmd_run.sh | 5 days ago | |
cmd_task.bat | 5 days ago | |
cmd_task.sh | 5 days ago | |
go.mod | 1 day ago | |
main.go | 4 days ago | |
wap.conf | 5 days 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 在生成文档时解析外部依赖包)