huangjiajun bd6c7a7c62 | 17 horas atrás | |
---|---|---|
app | 17 horas atrás | |
bin | 3 dias atrás | |
cmd/task | 3 dias atrás | |
docs | 17 horas atrás | |
etc | 2 dias atrás | |
k8s | 2 dias atrás | |
static/html | 3 dias atrás | |
test | 3 dias atrás | |
.gitignore | 3 dias atrás | |
Dockerfile | 3 dias atrás | |
Dockerfile-task | 3 dias atrás | |
Makefile | 3 dias atrás | |
README.md | 3 dias atrás | |
build.sh | 2 dias atrás | |
cmd_db.bat | 3 dias atrás | |
cmd_db.sh | 3 dias atrás | |
cmd_run.bat | 3 dias atrás | |
cmd_run.sh | 3 dias atrás | |
cmd_task.bat | 3 dias atrás | |
cmd_task.sh | 3 dias atrás | |
go.mod | 17 horas atrás | |
main.go | 2 dias atrás | |
wap.conf | 3 dias atrás |
蛋蛋星球后台管理项目
软件架构说明
> 参考: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 在生成文档时解析外部依赖包)